|
|||||||||
| Home >> All >> com >> paradoxpoint >> libitina >> [ tool overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.paradoxpoint.libitina.tool
Class ToolBox

java.lang.Objectcom.paradoxpoint.libitina.tool.ToolBox
- All Implemented Interfaces:
- ToolContainer
- public class ToolBox
- extends java.lang.Object
- implements ToolContainer
- extends java.lang.Object
| Field Summary | |
private javax.swing.event.EventListenerList |
listenerList
Utility field used by event firing mechanism. |
private java.beans.PropertyChangeSupport |
propertyChangeSupport
Utility field used by bound properties. |
private Tool |
tool
Holds value of property tool. |
private static java.util.Map |
tools
|
| Constructor Summary | |
ToolBox()
Creates a new instance of ToolBox |
|
| Method Summary | |
void |
addToolSelectionListener(ToolSelectionListener listener)
Registers ToolSelectionListener to receive events. |
private void |
fireToolChanged(ToolSelectionEvent event)
Notifies all registered listeners about the event. |
Tool |
getTool()
Getter for property tool. |
Tool |
getTool(java.lang.String name)
|
void |
removeToolSelectionListener(ToolSelectionListener listener)
Removes ToolSelectionListener from the list of listeners. |
void |
setTool(Tool tool)
Setter for property tool. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
tools
private static java.util.Map tools
listenerList
private javax.swing.event.EventListenerList listenerList
- Utility field used by event firing mechanism.
tool
private Tool tool
- Holds value of property tool.
propertyChangeSupport
private java.beans.PropertyChangeSupport propertyChangeSupport
- Utility field used by bound properties.
| Constructor Detail |
ToolBox
public ToolBox()
- Creates a new instance of ToolBox
| Method Detail |
getTool
public Tool getTool(java.lang.String name)
addToolSelectionListener
public void addToolSelectionListener(ToolSelectionListener listener)
- Registers ToolSelectionListener to receive events.
removeToolSelectionListener
public void removeToolSelectionListener(ToolSelectionListener listener)
- Removes ToolSelectionListener from the list of listeners.
fireToolChanged
private void fireToolChanged(ToolSelectionEvent event)
- Notifies all registered listeners about the event.
getTool
public Tool getTool()
- Getter for property tool.
- Specified by:
getToolin interfaceToolContainer
setTool
public void setTool(Tool tool)
- Setter for property tool.
- Specified by:
setToolin interfaceToolContainer
|
|||||||||
| Home >> All >> com >> paradoxpoint >> libitina >> [ tool overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.paradoxpoint.libitina.tool.ToolBox