Activityashapebean, Constructor summary, Method summary – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 7: Com.miginfocom.beans class activityashapebean

Advertising
background image

com.miginfocom.beans
Class ActivityAShapeBean

java.lang.Object
|
+-com.miginfocom.beans.AbstractBean
|
+-com.miginfocom.beans.ActivityAShapeBean

public class ActivityAShapeBean
extends AbstractBean

Encapsulates the default

com.miginfocom.ashape.shapes.RootAShape

that is a round rectangle with a title and a summary.


Uses the

RootAShape

gotten from calling

createDefault(int)

and configuring the properties of it.

All Implemented Interfaces:

Serializable

Constructor Summary

public

ActivityAShapeBean

()

Method Summary

void

addMouseInteractionListener

(MouseInteractionListener l)

Adds a listener that listens to all mouse events on this shape and all sub shapes that has a hit
area report set to true.

void

addMouseInteractionListener

(MouseInteractionListener l, boolean

asWeakRef)

Adds a listener that listens to all mouse events on this shape and all sub shapes that has a hit
area report set to true.

void

addSubShape

(AShape shape)

Adds a generic sub shape to the root shape.

int

getAntiAlias

()

Property: The anti aliasing hint used when drawing the graphics for the shape.

java.awt.Paint

getBackground

()

Property: The background paint for the shape.

double

getCornerRadius

()

Property: The corner radius for the outline

com.miginfocom.util.gfx.RoundRectangle

.

boolean

getDraggable

()

Property: If the activity should AShape should be draggable and thus send out
DefaultDateArea.AE_DRAG_PRESSED when pressed.

java.awt.Cursor

getMouseOverCursor

()

Property: The Cursor showed when the mouse is over the shape or

null

if none.

Page 7 of 196

com.miginfocom.beans.ActivityAShapeBean

Advertising