de.uni_paderborn.fujaba.fsa
Class FSAComboBox

java.lang.Object
  extended byde.uni_paderborn.fujaba.basic.BasicIncrement
      extended byde.uni_paderborn.fujaba.fsa.FSAObject
          extended byde.uni_paderborn.fujaba.fsa.FSAComboBox
All Implemented Interfaces:
java.lang.Comparable, java.util.EventListener, ParentListener, java.beans.PropertyChangeListener, UniqueIdentifier

public class FSAComboBox
extends FSAObject

No comment provided by developer, please add a comment to improve documentation.

Version:
$Revision: 1.20 $
Author:
$Author: lowende $

Field Summary
 
Fields inherited from class de.uni_paderborn.fujaba.fsa.FSAObject
COLOR_BACKGROUND, COLOR_FOCUSED, COLOR_FOREGROUND, COLOR_SELECTED, DIMENSION, JCOMPONENT_CLIENT_PROPERTY, LOCATION, TRANSIENT_PROPERTIES_DEFAULT
 
Fields inherited from class de.uni_paderborn.fujaba.basic.BasicIncrement
dontUseAccessMethodsInThisClass
 
Constructor Summary
FSAComboBox(LogicUnparseInterface incr, java.lang.String propName)
          Constructor for class FSAComboBox
FSAComboBox(LogicUnparseInterface incr, java.lang.String propName, javax.swing.JComponent parent)
          Constructor for class FSAComboBox
 
Method Summary
 void addItemListener(java.awt.event.ItemListener listener)
          Access method for an one to n association.
 void addToItems(java.lang.Object item)
          the item is added to the list of items shown by the ComboBox
protected  javax.swing.JComponent createJComponent()
          No comment provided by developer, please add a comment to improve documentation.
 java.lang.String getDefaultAttrName()
          Get the defaultAttrName attribute of the FSAComboBox object
 java.lang.Class getDefaultUpdaterClass()
          Get the defaultUpdaterClass attribute of the FSAComboBox object
 int getSelectedIndex()
          Get the selectedIndex attribute of the FSAComboBox object
 java.lang.Object getSelectedItem()
          Get the selectedItem attribute of the FSAComboBox object
 boolean hasInItems(java.lang.Object item)
           
 java.util.Iterator iteratorOfItemListeners()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfItems()
           
 void removeFromItems(java.lang.Object item)
          remove item from the list of Objects shown by the ComboBox
 void removeItemListener(java.awt.event.ItemListener listener)
          No comment provided by developer, please add a comment to improve documentation.
 void removeYou()
          No comment provided by developer, please add a comment to improve documentation.
 void setSelectedIndex(int index)
          Sets the selectedIndex attribute of the FSAComboBox object
 void setSelectedItem(java.lang.Object item)
          Sets the selectedItem attribute of the FSAComboBox object
 int sizeOfItems()
           
 
Methods inherited from class de.uni_paderborn.fujaba.fsa.FSAObject
addAncestorListener, addComponentListener, addDimensionToUnparseInformation, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addParentListener, addPointToUnparseInformation, addPropertyChangeListener, addPropertyChangeListener, addToUpdater, addUnparseInformation, addVetoableChangeListener, applyProperties, createDefaultUpdater, dragByDelta, dragTo, findChildForProperty, findFSAObjectFromJComponent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getASGInformation, getASGInformation, getBackground, getDiagramRoot, getDimensionFromUnparseInformation, getFont, getForeground, getFSAInterface, getFSAObjectFromJComponent, getFSAQualifier, getID, getJComponent, getJComponent, getLocation, getLocation, getLogic, getLogic, getLogicFromJComponent, getMaximumSize, getMinimumSize, getParent, getParentID, getParentOfJComponent, getPointFromUnparseInformation, getPreferredSize, getPropertyName, getQualifiedName, getQualifiedName, getSize, getUnparseInformation, hasInUpdater, initFSAProperties, initLocation, invalidate, isBold, isDelegated, isFocused, isItalic, isSelected, isTransientProperties, isUnderlined, isVisible, iteratorOfAncestorListeners, iteratorOfComponentListeners, iteratorOfFocusListeners, iteratorOfInputMethodListeners, iteratorOfKeyListeners, iteratorOfMouseListeners, iteratorOfMouseMotionListeners, iteratorOfPropertyChangeListeners, iteratorOfPropertyChangeListeners, iteratorOfUpdater, iteratorOfVetoableChangeListeners, parentChanged, propertyChange, removeAllFromUpdater, removeAllUnparseInformation, removeAncestorListener, removeComponentListener, removeFocusListener, removeFromUnparseInformation, removeFromUpdater, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeParentListener, removePointFromUnparseInformation, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, saveAdditionalFSAProperties, saveDimension, saveFSAProperties, saveLocation, setBackground, setBold, setDefaultProperties, setFocused, setFont, setForeground, setFSAInterface, setFSAObjectFromJComponent, setItalic, setLocation, setLocation, setLogic, setOpaque, setParentOfJComponent, setPreferredSize, setPropertyName, setSelected, setTransientProperties, setUnderlined, setVisible, sizeOfUpdater, toString
 
Methods inherited from class de.uni_paderborn.fujaba.basic.BasicIncrement
compareTo, getID, getUniqueID, getUniqueID, isGenerated, lessUniqueId, readAttributes, readAttributes, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, resetClassInfos, resetFieldWriteMethods, setAttribValue, setAttribValue, setGenerated, setID, setUniqueId, writeAttributes, writeClassToStringBuffer, writeClassToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FSAComboBox

public FSAComboBox(LogicUnparseInterface incr,
                   java.lang.String propName)
Constructor for class FSAComboBox

Parameters:
incr - No description provided
propName - No description provided

FSAComboBox

public FSAComboBox(LogicUnparseInterface incr,
                   java.lang.String propName,
                   javax.swing.JComponent parent)
Constructor for class FSAComboBox

Parameters:
incr - No description provided
propName - No description provided
parent - No description provided
Method Detail

getDefaultUpdaterClass

public java.lang.Class getDefaultUpdaterClass()
Get the defaultUpdaterClass attribute of the FSAComboBox object

Overrides:
getDefaultUpdaterClass in class FSAObject
Returns:
The defaultUpdaterClass value

getDefaultAttrName

public java.lang.String getDefaultAttrName()
Get the defaultAttrName attribute of the FSAComboBox object

Overrides:
getDefaultAttrName in class FSAObject
Returns:
The defaultAttrName value

createJComponent

protected javax.swing.JComponent createJComponent()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
createJComponent in class FSAObject
Returns:
No description provided

sizeOfItems

public int sizeOfItems()
Returns:
Number of items that are shown by the ComboBox

iteratorOfItems

public java.util.Iterator iteratorOfItems()
Returns:
an iterator over the items shown in the ComboBox

hasInItems

public boolean hasInItems(java.lang.Object item)
Parameters:
item - No description provided
Returns:
true if item is shown by the ComboBox

removeFromItems

public void removeFromItems(java.lang.Object item)
remove item from the list of Objects shown by the ComboBox

Parameters:
item - No description provided

addToItems

public void addToItems(java.lang.Object item)
the item is added to the list of items shown by the ComboBox

Parameters:
item - The object added.

setSelectedItem

public void setSelectedItem(java.lang.Object item)
Sets the selectedItem attribute of the FSAComboBox object

Parameters:
item - The new selectedItem value

getSelectedItem

public java.lang.Object getSelectedItem()
Get the selectedItem attribute of the FSAComboBox object

Returns:
The selectedItem value

setSelectedIndex

public void setSelectedIndex(int index)
Sets the selectedIndex attribute of the FSAComboBox object

Parameters:
index - The new selectedIndex value

getSelectedIndex

public int getSelectedIndex()
Get the selectedIndex attribute of the FSAComboBox object

Returns:
The selectedIndex value

addItemListener

public void addItemListener(java.awt.event.ItemListener listener)
Access method for an one to n association.

Parameters:
listener - The object added.

removeItemListener

public void removeItemListener(java.awt.event.ItemListener listener)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
listener - No description provided

iteratorOfItemListeners

public java.util.Iterator iteratorOfItemListeners()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

removeYou

public void removeYou()
No comment provided by developer, please add a comment to improve documentation.

Overrides:
removeYou in class FSAObject