org.objectweb.jac.ide.diagrams
Class AttributeValueFigure

java.lang.Object
  |
  +--CH.ifa.draw.standard.AbstractFigure
        |
        +--CH.ifa.draw.figures.AttributeFigure
              |
              +--CH.ifa.draw.figures.TextFigure
                    |
                    +--org.objectweb.jac.ide.diagrams.AttributeValueFigure
All Implemented Interfaces:
Cloneable, EventListener, CH.ifa.draw.framework.Figure, CH.ifa.draw.framework.FigureChangeListener, Serializable, CH.ifa.draw.standard.TextHolder

public class AttributeValueFigure
extends CH.ifa.draw.figures.TextFigure

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface CH.ifa.draw.framework.Figure
POPUP_MENU
 
Constructor Summary
AttributeValueFigure(FieldItem attribute, Object substance)
           
 
Method Summary
 FieldItem getAttribute()
          Get the value of attribute.
 Object getSubstance()
          Get the value of substance.
 void setAttribute(FieldItem v)
          Set the value of attribute.
 void setSubstance(Object v)
          Set the value of substance.
 void setText(String s)
           
 
Methods inherited from class CH.ifa.draw.figures.TextFigure
acceptsTyping, basicDisplayBox, basicMoveBy, changed, connect, createCurrentFont, disconnect, displayBox, drawBackground, drawFrame, figureChanged, figureInvalidated, figureRemoved, figureRequestRemove, figureRequestUpdate, getAttribute, getFont, getText, handles, moveBy, overlayColumns, readOnly, release, setAttribute, setCurrentFontName, setCurrentFontSize, setCurrentFontStyle, setFont, setReadOnly, textDisplayBox, updateLocation
 
Methods inherited from class CH.ifa.draw.figures.AttributeFigure
draw, getDefaultAttribute, getFillColor, getFrameColor
 
Methods inherited from class CH.ifa.draw.standard.AbstractFigure
addFigureChangeListener, addToContainer, canConnect, center, clone, connectedTextLocator, connectionInsets, connectorAt, connectorVisibility, containsPoint, decompose, displayBox, displayBox, figures, findFigureInside, getZValue, includes, invalidate, isEmpty, listener, removeFigureChangeListener, removeFromContainer, setZValue, size, willChange
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeValueFigure

public AttributeValueFigure(FieldItem attribute,
                            Object substance)
Method Detail

getAttribute

public FieldItem getAttribute()
Get the value of attribute.

Returns:
value of attribute.

setAttribute

public void setAttribute(FieldItem v)
Set the value of attribute.

Parameters:
v - Value to assign to attribute.

getSubstance

public Object getSubstance()
Get the value of substance.

Returns:
value of substance.

setSubstance

public void setSubstance(Object v)
Set the value of substance.

Parameters:
v - Value to assign to substance.

setText

public void setText(String s)
Specified by:
setText in interface CH.ifa.draw.standard.TextHolder
Overrides:
setText in class CH.ifa.draw.figures.TextFigure