Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.paradoxpoint.libitina
Class Libitina.ExplorerHelper  view Libitina.ExplorerHelper download Libitina.ExplorerHelper.java

java.lang.Object
  extended byjava.awt.event.MouseAdapter
      extended bycom.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.


Field Summary
private  com.paradoxpoint.libitina.monument.ItemContainer itemContainer
           
private  javax.swing.JLabel previewLabel
           
private  boolean simpleDesigns
           
private  com.paradoxpoint.libitina.option.BasicOption simpleDesignsOption
           
private  com.paradoxpoint.libitina.tool.Tool tool
           
 
Constructor Summary
Libitina.ExplorerHelper(com.paradoxpoint.libitina.monument.ItemContainer itemContainer, javax.swing.JLabel previewLabel)
           
 
Method Summary
 com.paradoxpoint.libitina.option.AbstractOption getOption()
          Returns the name of the option in whihc this listener is interested.
 void mousePressed(java.awt.event.MouseEvent evt)
          Implements this method in the interface with an empty method body.
 void optionStateChanged(com.paradoxpoint.libitina.option.OptionEvent e)
          This method gets called when an option's state is changed.
 void toolChanged(com.paradoxpoint.libitina.tool.ToolSelectionEvent evt)
           
 void valueChanged(javax.swing.event.TreeSelectionEvent e)
          Called whenever the value of the selection changes.
 
Methods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseEntered, mouseExited, mouseReleased
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

Libitina.ExplorerHelper

public Libitina.ExplorerHelper(com.paradoxpoint.libitina.monument.ItemContainer itemContainer,
                               javax.swing.JLabel previewLabel)
Method Detail

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