de.uni_paderborn.fujaba.fsa
Class FSALabel

java.lang.Object
  extended byde.uni_paderborn.fujaba.basic.BasicIncrement
      extended byde.uni_paderborn.fujaba.fsa.FSAObject
          extended byde.uni_paderborn.fujaba.fsa.FSALabel
All Implemented Interfaces:
java.lang.Comparable, java.util.EventListener, ParentListener, java.beans.PropertyChangeListener, UniqueIdentifier
Direct Known Subclasses:
FSAStereotypeLabel, StereotypeLabel

public class FSALabel
extends FSAObject

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

Version:
$Revision: 1.21 $
Author:
$Author: schneider $

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
FSALabel()
          Constructor for class FSALabel
FSALabel(LogicUnparseInterface incr, java.lang.String propName)
          Constructor for class FSALabel
FSALabel(LogicUnparseInterface incr, java.lang.String propName, javax.swing.JComponent parent)
          Constructor for class FSALabel
 
Method Summary
protected  javax.swing.JComponent createJComponent()
          No comment provided by developer, please add a comment to improve documentation.
 boolean getCentered()
          Get the value of centered.
 java.lang.String getDefaultAttrName()
          Get the defaultAttrName attribute of the FSALabel object
 java.lang.Class getDefaultUpdaterClass()
          class of the AbstractUpdater that usually fits best the jComponent
 javax.swing.Icon getIcon()
          get the icon of this label
 java.lang.Object getJComponentValue()
           
 java.lang.String getText()
          get the text of this label
 boolean getUnderscore()
          Get the value of underscore.
 void setCentered(boolean v)
          Set the value of centered.
 void setIcon(javax.swing.Icon icon)
          set the icon of this label
 void setJComponentValue(java.lang.Object value)
          When value is of type icon it is set as the labels icon else value.toString is set as the labels text
 void setText(java.lang.String text)
          set the text of this label
 void setUnderscore(boolean v)
          Set the value of underscore.
 
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, removeYou, 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

FSALabel

public FSALabel()
Constructor for class FSALabel


FSALabel

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

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

FSALabel

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

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

getDefaultAttrName

public java.lang.String getDefaultAttrName()
Get the defaultAttrName attribute of the FSALabel 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

getJComponentValue

public java.lang.Object getJComponentValue()
Returns:
the text of this label
See Also:
setText(java.lang.String), getText()

getDefaultUpdaterClass

public java.lang.Class getDefaultUpdaterClass()
class of the AbstractUpdater that usually fits best the jComponent

Overrides:
getDefaultUpdaterClass in class FSAObject
Returns:
The defaultUpdaterClass value

setJComponentValue

public void setJComponentValue(java.lang.Object value)
When value is of type icon it is set as the labels icon else value.toString is set as the labels text

Parameters:
value - The new jComponentValue value
See Also:
setText(java.lang.String), setIcon(javax.swing.Icon)

setText

public void setText(java.lang.String text)
set the text of this label

Parameters:
text - The new text value

getText

public java.lang.String getText()
get the text of this label

Returns:
the text of this label

setIcon

public void setIcon(javax.swing.Icon icon)
set the icon of this label

Parameters:
icon - The new icon value

getIcon

public javax.swing.Icon getIcon()
get the icon of this label

Returns:
the icon of this label

getCentered

public boolean getCentered()
Get the value of centered.

Returns:
Value of centered.

setCentered

public void setCentered(boolean v)
Set the value of centered.

Parameters:
v - Value to assign to centered.

getUnderscore

public boolean getUnderscore()
Get the value of underscore.

Returns:
Value of underscore.

setUnderscore

public void setUnderscore(boolean v)
Set the value of underscore.

Parameters:
v - Value to assign to underscore.