Activityashapebean(), Addsubshape(ashape), Getresizehandles() – MiG InfoCom MiG Calendar JavaBeans User Manual
Page 11: Removesubshape(ashape), Activityashapebean, Addsubshape, Ashape, Shunted to, Getresizehandles, Removesubshape
![background image](https://www.manualsdir.com/files/798675/content/doc011.png)
void
(java.awt.Font font)
Property: The font used to draw the title in the shape.
void
(java.awt.Paint paint)
Property: The
Paint
used to draw the title.
void
(PlaceRect placeRect)
Property: How this shape's title will relate to the reference rectangle (bounds) given by the
activity layout system.
void
(String s)
Property: The template text that will show in the title of the shape.
Methods inherited from class
com.miginfocom.beans.AbstractBean
addPropertyChangeListener, addPropertyChangeListener, firePropertyChangeEvent,
removePropertyChangeListener, setIgnorePropertyChangeEvents
Methods inherited from class
java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
ActivityAShapeBean
public ActivityAShapeBean()
Methods
addSubShape
public void addSubShape(AShape shape)
Adds a generic sub shape to the root shape. It can for instance be used to add icons or other markers in some way that can
not be expressed with the normalt properties. It is like adding a sub component to a Swing container.
Parameters:
shape
- The shape to be added.
removeSubShape
public void removeSubShape(AShape shape)
Removes the sub shape.
Parameters:
shape
- The shape to be removed.
getResizeHandles
public int getResizeHandles()
Page 11 of 196
com.miginfocom.beans.ActivityAShapeBean