public interface Browser extends Savable
Browser handles the root page of the command browser tool.| Modifier and Type | Interface and Description |
|---|---|
static class |
Browser.Descriptor |
| Modifier and Type | Field and Description |
|---|---|
static ImageIcon |
ICON_LOCKED |
static ImageIcon |
ICON_UNAVAILABLE |
static ImageIcon |
ICON_UNLOCKED |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name of this command browser.
|
JComponent |
getPanel()
Initializes the browser if necessary, and returns its root graphics component.
|
static boolean |
isCommandLocked(org.lsst.ccs.command.DictionaryCommand command,
org.lsst.ccs.command.Dictionary dictionary)
Returns
true if the specified command is currently unavailable for use based on lock and level settings. |
Browser.Descriptor |
save()
Returns JavaBean describing the current state of this component.
|
void |
shutdown()
Releases resources and shuts down this browser.
|
static final ImageIcon ICON_UNLOCKED
static final ImageIcon ICON_LOCKED
static final ImageIcon ICON_UNAVAILABLE
String getName()
JComponent getPanel()
void shutdown()
static boolean isCommandLocked(org.lsst.ccs.command.DictionaryCommand command,
org.lsst.ccs.command.Dictionary dictionary)
true if the specified command is currently unavailable for use based on lock and level settings.
If the specified dictionary is null, always returns true (for compatibility with legacy code).command - Command to check.dictionary - Dictionary the command belongs to.true If the command is locked.Browser.Descriptor save()
Savablenull.Copyright © 2019 LSST. All rights reserved.