cb.petal
Class Compartment

java.lang.Object
  |
  +--cb.petal.PetalObject
        |
        +--cb.petal.Compartment
All Implemented Interfaces:
java.lang.Cloneable, PetalNode, java.io.Serializable

public class Compartment
extends PetalObject

Represents Compartment object

Version:
$Id: Compartment.java,v 1.7 2001/06/22 09:10:36 dahm Exp $
Author:
M. Dahm
See Also:
Serialized Form

Fields inherited from class cb.petal.PetalObject
EMPTY, params
 
Constructor Summary
Compartment()
           
Compartment(PetalNode parent, java.util.Collection params)
           
 
Method Summary
 void accept(Visitor v)
           
 int getAnchor()
           
 int getFillColor()
           
 java.lang.String getIconStyle()
           
 Location getLocation()
           
 int getMaxWidth()
           
 int getNlines()
           
 Tag getParentView()
           
 void setAnchor(int o)
           
 void setFillColor(int o)
           
 void setIconStyle(java.lang.String o)
           
 void setLocation(Location o)
           
 void setMaxWidth(int o)
           
 void setNlines(int o)
           
 void setParentView(Tag o)
           
 
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
 

Constructor Detail

Compartment

public Compartment(PetalNode parent,
                   java.util.Collection params)

Compartment

public Compartment()
Method Detail

getParentView

public Tag getParentView()

setParentView

public void setParentView(Tag o)

getLocation

public Location getLocation()

setLocation

public void setLocation(Location o)

getIconStyle

public java.lang.String getIconStyle()

setIconStyle

public void setIconStyle(java.lang.String o)

getFillColor

public int getFillColor()

setFillColor

public void setFillColor(int o)

getAnchor

public int getAnchor()

setAnchor

public void setAnchor(int o)

getNlines

public int getNlines()

setNlines

public void setNlines(int o)

getMaxWidth

public int getMaxWidth()

setMaxWidth

public void setMaxWidth(int o)

accept

public void accept(Visitor v)
Overrides:
accept in class PetalObject