com.tensegrity.gui.swing.dialog.graphfilechooser
Class GraphFileChooserOptionComboBox

java.lang.Object
  extended bycom.tensegrity.gui.swing.dialog.graphfilechooser.GraphFileChooserOption
      extended bycom.tensegrity.gui.swing.dialog.graphfilechooser.GraphFileChooserOptionComboBox
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class GraphFileChooserOptionComboBox
extends GraphFileChooserOption
implements java.awt.event.ActionListener

GraphFileChooserOptionCheckBox

Author:
BurkhardWick

Field Summary
 
Fields inherited from class com.tensegrity.gui.swing.dialog.graphfilechooser.GraphFileChooserOption
file, filter
 
Constructor Summary
GraphFileChooserOptionComboBox(java.util.List items)
          Constructor
GraphFileChooserOptionComboBox(java.lang.Object[] items)
          Constructor
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
protected  java.lang.Object getInitialValue()
          Called at initialization time to determine the initial value
 java.lang.Object getValue()
          Returns the current value of this option
protected  void parentValueChanged(java.lang.Object newVal)
          Called when the parent option changes the value
 void revalidate()
          Revalidates the state of this option and its children after a change of settings
 void setValue(java.lang.Object val)
          Sets the new value of this option
 
Methods inherited from class com.tensegrity.gui.swing.dialog.graphfilechooser.GraphFileChooserOption
addChild, getChild, getChildCount, getComponent, getDepth, getIndentation, getParent, isEnabled, removeChild, updateIndentation, updateState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphFileChooserOptionComboBox

public GraphFileChooserOptionComboBox(java.lang.Object[] items)
Constructor

Parameters:
items - The items of the combobox

GraphFileChooserOptionComboBox

public GraphFileChooserOptionComboBox(java.util.List items)
Constructor

Parameters:
items - The items of the combobox
Method Detail

getValue

public java.lang.Object getValue()
Description copied from class: GraphFileChooserOption
Returns the current value of this option

Overrides:
getValue in class GraphFileChooserOption
Returns:
the current value of this option

setValue

public void setValue(java.lang.Object val)
Description copied from class: GraphFileChooserOption
Sets the new value of this option

Overrides:
setValue in class GraphFileChooserOption
Parameters:
val - the new value of this option to set

revalidate

public void revalidate()
Description copied from class: GraphFileChooserOption
Revalidates the state of this option and its children after a change of settings

Overrides:
revalidate in class GraphFileChooserOption

parentValueChanged

protected void parentValueChanged(java.lang.Object newVal)
Description copied from class: GraphFileChooserOption
Called when the parent option changes the value

Specified by:
parentValueChanged in class GraphFileChooserOption
Parameters:
newVal - The new value of the option

getInitialValue

protected java.lang.Object getInitialValue()
Description copied from class: GraphFileChooserOption
Called at initialization time to determine the initial value

Specified by:
getInitialValue in class GraphFileChooserOption
Returns:
The initial value of this option

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.