cb.petal
Class Label
java.lang.Object
|
+--cb.petal.PetalObject
|
+--cb.petal.Label
- All Implemented Interfaces:
- java.lang.Cloneable, PetalNode, java.io.Serializable, Tagged
- public class Label
- extends PetalObject
- implements Tagged
Represents Label object
- Version:
- $Id: Label.java,v 1.11 2001/06/22 09:10:36 dahm Exp $
- Author:
- M. Dahm
- See Also:
- Serialized Form
Methods inherited from class cb.petal.PetalObject |
addProperty, addToList, clone, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, equals, getChildCount, getKind, getLongestName, getName, getNames, getNoProperties, getParameterList, getParent, getProperties, getProperty, getProperty, getPropertyAsBoolean, getPropertyAsFloat, getPropertyAsInteger, getPropertyAsString, getPropertyList, getPropertyName, getPropertyTuples, getQualifiedName, getRoot, indexOf, init, moveProperty, removeFromList, removeProperty, removeProperty, setName, setParameterList, setParent, setProperty, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Label
public Label(PetalNode parent,
java.util.Collection params)
Label
public Label()
setTag
public void setTag(int t)
- Specified by:
setTag
in interface Tagged
getTag
public int getTag()
- Specified by:
getTag
in interface Tagged
getLocation
public Location getLocation()
setLocation
public void setLocation(Location o)
getFont
public Font getFont()
setFont
public void setFont(Font o)
getNlines
public int getNlines()
setNlines
public void setNlines(int o)
getMaxWidth
public int getMaxWidth()
setMaxWidth
public void setMaxWidth(int o)
getLabel
public java.lang.String getLabel()
setLabel
public void setLabel(java.lang.String o)
accept
public void accept(Visitor v)
- Overrides:
accept
in class PetalObject