| org.osbl.client.wings.shell.Tool
All known Subclasses: org.osbl.client.wings.shell.AbstractTool,
Tool | public interface Tool (Code) | | author: hengels version: $Revision$ |
Field Summary | |
final public static String | ACCELERATOR_KEY The key used for storing a KeyStroke to be used as the
accelerator for the tool. | final public static String | DEFAULT | final public static String | KEY The key identifying the Tool . | final public static String | LONG_DESCRIPTION The key used for storing a longer String
description for the tool, could be used for context-sensitive help. | final public static String | NAME The key used for storing the String name
for the tool, used for the tab. | final public static String | SHORT_DESCRIPTION The key used for storing a short String
description for the tool, used for tooltip text. | final public static String | SMALL_ICON The key used for storing a small SIcon
for the tool, maybe used for the tab. |
ACCELERATOR_KEY | final public static String ACCELERATOR_KEY(Code) | | The key used for storing a KeyStroke to be used as the
accelerator for the tool.
|
KEY | final public static String KEY(Code) | | The key identifying the Tool .
|
LONG_DESCRIPTION | final public static String LONG_DESCRIPTION(Code) | | The key used for storing a longer String
description for the tool, could be used for context-sensitive help.
|
NAME | final public static String NAME(Code) | | The key used for storing the String name
for the tool, used for the tab.
|
SHORT_DESCRIPTION | final public static String SHORT_DESCRIPTION(Code) | | The key used for storing a short String
description for the tool, used for tooltip text.
|
SMALL_ICON | final public static String SMALL_ICON(Code) | | The key used for storing a small SIcon
for the tool, maybe used for the tab.
|
addPropertyChangeListener | public void addPropertyChangeListener(PropertyChangeListener listener)(Code) | | Adds a PropertyChange listener. Containers and attached
components use these methods to register interest in this
Tool object. When its enabled state or other property
changes, the registered listeners are informed of the change.
Parameters: listener - a PropertyChangeListener object |
getComponent | public SComponent getComponent()(Code) | | |
isEnabled | public boolean isEnabled()(Code) | | Returns the enabled state of the Tool . When enabled,
the tab associated with this object is active.
true if this Tool is enabled |
putValue | public void putValue(String key, Object value)(Code) | | Sets one of this object's properties
using the associated key. If the value has
changed, a PropertyChangeEvent is sent
to listeners.
Parameters: key - a String containing the key Parameters: value - an Object value |
setEnabled | public void setEnabled(boolean b)(Code) | | Sets the enabled state of the Tool . When enabled,
the tab associated with this object is active.
If the value has changed, a PropertyChangeEvent is sent
to listeners.
Parameters: b - true to enable this Tool , false to disable it |
|
|