public abstract class Browser extends Object implements Savable
Browser handles the root page of the command browser tool.
All access to implementations of this class should happen on EDT.| Modifier and Type | Class and Description |
|---|---|
static class |
Browser.Descriptor |
protected static class |
Browser.RenderedLock |
| Modifier and Type | Field and Description |
|---|---|
protected JPanel |
browserPanel |
protected org.lsst.ccs.utilities.logging.Logger |
logger |
protected LockService |
service |
protected JLabel |
stateLabel |
| Constructor and Description |
|---|
Browser() |
| Modifier and Type | Method and Description |
|---|---|
JComponent |
getPanel()
Initializes the browser if necessary, and returns its root graphics component.
|
static boolean |
isCommandLocked(org.lsst.ccs.command.DictionaryCommand command,
Locker agent)
Returns
true if the specified command is currently unavailable for use based on lock and level settings. |
protected Browser.RenderedLock |
renderLock(Locker agent)
Computes information for rendering lock icon and enabling actions associated with the specified agent.
|
abstract Browser.Descriptor |
save()
Returns JavaBean describing the current state of this component.
|
void |
shutdown()
Releases resources and shuts down this browser.
|
protected void |
updateStateDisplay() |
protected final org.lsst.ccs.utilities.logging.Logger logger
protected final LockService service
protected JPanel browserPanel
protected JLabel stateLabel
public JComponent getPanel()
public void shutdown()
public static boolean isCommandLocked(org.lsst.ccs.command.DictionaryCommand command,
Locker agent)
true if the specified command is currently unavailable for use based on lock and level settings.command - Command to check.agent - Lock service proxy for a remote agent.true If the command is locked or agent is null.protected void updateStateDisplay()
protected Browser.RenderedLock renderLock(Locker agent)
agent - Remote agent.public abstract Browser.Descriptor save()
Savablenull.Copyright © 2023 LSST. All rights reserved.