beautypg.com

Getdraggable(), Getmouseoversummaryunderline(), Getprimarydimension() – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 12: Setdraggable(boolean), Setprimarydimension(int), Setresizehandles(int), Getdraggable, Getmouseoversummaryunderline, Getprimarydimension, Setdraggable

background image

(continued from last page)

Property: The size the resize boxes should be placed. -1 if no resize boxes and thus there will be no way to resize the shape.

Can be

SwingConstants.VERTICAL

or

SwingConstants.HORIZONTAL

or -1.

Returns:

The current value. Default is

SwingConstants.VERTICAL

.

setResizeHandles

public void setResizeHandles(int dim)

Property: The size the resize boxes should be placed. -1 if no resize boxes and thus there will be no way to resize the shape.

Parameters:

dim

- The new value. One of

SwingConstants.VERTICAL

or

SwingConstants.HORIZONTAL

or -1.

getPrimaryDimension

public int getPrimaryDimension()

Deprecated. Shunted to

getResizeHandles()

Shunted to

getResizeHandles()

setPrimaryDimension

public void setPrimaryDimension(int dim)

Deprecated. Shunted to

(int)

Shunted to

setResizeHandles(int)

getDraggable

public boolean getDraggable()

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

Returns:

The current state.

setDraggable

public void setDraggable(boolean b)

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

Parameters:

b

-

true

means draggable. If same as set nothing will be done.

getMouseOverSummaryUnderline

public int getMouseOverSummaryUnderline()

Property: How thick the underline should be for mouse overs of on the summary text. 0 will disable it.

Returns:

The current width.

Page 12 of 196

com.miginfocom.beans.ActivityAShapeBean