public static class ExternalFinderItem.Builder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
ExternalFinderItem.SCOPE |
scope |
Constructor and Description |
---|
Builder() |
public ExternalFinderItem.SCOPE scope
public static ExternalFinderItem.Builder from(ExternalFinderItem item)
public ExternalFinderItem.Builder setName(java.lang.String name)
&
to a character to set a mnemonic
for use in menus.public java.lang.String getName()
public ExternalFinderItem.Builder addURL(ExternalFinderItemURL url)
public ExternalFinderItem.Builder setURLs(java.util.List<ExternalFinderItemURL> urls)
public java.util.List<ExternalFinderItemURL> getURLs()
public ExternalFinderItem.Builder addCommand(ExternalFinderItemCommand command)
public ExternalFinderItem.Builder setCommands(java.util.List<ExternalFinderItemCommand> commands)
public java.util.List<ExternalFinderItemCommand> getCommands()
public ExternalFinderItem.Builder setKeyStroke(javax.swing.KeyStroke keystroke)
public javax.swing.KeyStroke getKeyStroke()
public ExternalFinderItem.Builder setNopopup(boolean nopopup)
public boolean isNopopup()
public ExternalFinderItem.Builder setScope(ExternalFinderItem.SCOPE scope)
public ExternalFinderItem.SCOPE getScope()
public ExternalFinderItem build() throws ExternalFinderValidationException
public void validate() throws ExternalFinderValidationException