cb.petal
Class View

java.lang.Object
  |
  +--cb.petal.PetalObject
        |
        +--cb.petal.View
All Implemented Interfaces:
java.lang.Cloneable, Named, PetalNode, java.io.Serializable, Tagged
Direct Known Subclasses:
ActivityStateView, AssocAttachView, AttachView, DecisionView, InterMessView, MessView, NoteView, QuiduView, SynchronizationView

public abstract class View
extends PetalObject
implements Named, Tagged

Super class for all view objects used in the diagrams. They all contain a tag.

Version:
$Id: View.java,v 1.10 2001/07/09 07:48:52 dahm Exp $
Author:
M. Dahm
See Also:
Serialized Form

Fields inherited from class cb.petal.PetalObject
EMPTY, params
 
Constructor Summary
protected View(PetalNode parent, java.lang.String name, java.util.Collection params, int tag)
           
protected View(java.lang.String name)
           
 
Method Summary
 Tag getClient()
           
 int getFillColor()
           
 int getHeight()
           
 java.lang.String getIcon()
           
 java.lang.String getIconStyle()
           
 int getLineColor()
           
 int getLineStyle()
           
 Location getLocation()
           
 java.lang.String getNameParameter()
           
 Tag getSupplier()
           
 int getTag()
           
 int getWidth()
           
 void setClient(Tag o)
           
 void setFillColor(int o)
           
 void setHeight(int o)
           
 void setIcon(java.lang.String o)
           
 void setIconStyle(java.lang.String o)
           
 void setLineColor(int o)
           
 void setLineStyle(int o)
           
 void setLocation(Location o)
           
 void setNameParameter(java.lang.String o)
           
 void setSupplier(Tag o)
           
 void setTag(int t)
           
 void setWidth(int o)
           
 java.lang.String toString()
           
 
Methods inherited from class cb.petal.PetalObject
accept, 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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

View

protected View(PetalNode parent,
               java.lang.String name,
               java.util.Collection params,
               int tag)

View

protected View(java.lang.String name)
Method Detail

setTag

public void setTag(int t)
Specified by:
setTag in interface Tagged

getTag

public int getTag()
Specified by:
getTag in interface Tagged

toString

public java.lang.String toString()
Overrides:
toString in class PetalObject

setNameParameter

public void setNameParameter(java.lang.String o)
Specified by:
setNameParameter in interface Named

getNameParameter

public java.lang.String getNameParameter()
Specified by:
getNameParameter in interface Named

getClient

public Tag getClient()

setClient

public void setClient(Tag o)

getSupplier

public Tag getSupplier()

setSupplier

public void setSupplier(Tag o)

getLineColor

public int getLineColor()

setLineColor

public void setLineColor(int o)

getLineStyle

public int getLineStyle()

setLineStyle

public void setLineStyle(int o)

getIcon

public java.lang.String getIcon()

setIcon

public void setIcon(java.lang.String 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)

getWidth

public int getWidth()

setWidth

public void setWidth(int o)

getHeight

public int getHeight()

setHeight

public void setHeight(int o)

getLocation

public Location getLocation()

setLocation

public void setLocation(Location o)