java.lang.Object
java.awt.event.MouseAdapter
com.paradoxpoint.libitina.Libitina.ExplorerHelper
- All Implemented Interfaces:
- java.util.EventListener, java.awt.event.MouseListener, com.paradoxpoint.libitina.option.OptionListener, com.paradoxpoint.libitina.tool.ToolSelectionListener, javax.swing.event.TreeSelectionListener
- Enclosing class:
- Libitina
- private final class Libitina.ExplorerHelper
- extends java.awt.event.MouseAdapter
- implements javax.swing.event.TreeSelectionListener, com.paradoxpoint.libitina.tool.ToolSelectionListener, com.paradoxpoint.libitina.option.OptionListener
Helps coordinate GUI activities associated with the Explorer tab in Libitina.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tool
private com.paradoxpoint.libitina.tool.Tool tool
simpleDesigns
private boolean simpleDesigns
simpleDesignsOption
private com.paradoxpoint.libitina.option.BasicOption simpleDesignsOption
itemContainer
private com.paradoxpoint.libitina.monument.ItemContainer itemContainer
previewLabel
private javax.swing.JLabel previewLabel
Libitina.ExplorerHelper
public Libitina.ExplorerHelper(com.paradoxpoint.libitina.monument.ItemContainer itemContainer,
javax.swing.JLabel previewLabel)
valueChanged
public void valueChanged(javax.swing.event.TreeSelectionEvent e)
- Called whenever the value of the selection changes.
- Specified by:
valueChanged in interface javax.swing.event.TreeSelectionListener
mousePressed
public void mousePressed(java.awt.event.MouseEvent evt)
- Description copied from class:
java.awt.event.MouseAdapter
- Implements this method in the interface with an empty method body.
- Specified by:
mousePressed in interface java.awt.event.MouseListener
toolChanged
public void toolChanged(com.paradoxpoint.libitina.tool.ToolSelectionEvent evt)
- Specified by:
toolChanged in interface com.paradoxpoint.libitina.tool.ToolSelectionListener
getOption
public com.paradoxpoint.libitina.option.AbstractOption getOption()
- Description copied from interface:
com.paradoxpoint.libitina.option.OptionListener
- Returns the name of the option in whihc this listener is interested.
- Specified by:
getOption in interface com.paradoxpoint.libitina.option.OptionListener
optionStateChanged
public void optionStateChanged(com.paradoxpoint.libitina.option.OptionEvent e)
- Description copied from interface:
com.paradoxpoint.libitina.option.OptionListener
- This method gets called when an option's state is changed.
- Specified by:
optionStateChanged in interface com.paradoxpoint.libitina.option.OptionListener