beautypg.com

Gethorizontalgridlinepainteven(), Getnoexpandedfoldergridline(), Sethorizontalgridlinepainteven(paint) – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 128: Setlabelminimumcellsize(dimension), Setnoexpandedfoldergridline(boolean), Gethorizontalgridlinepainteven, Getnoexpandedfoldergridline, Sethorizontalgridlinepainteven, Setlabelminimumcellsize, Java.awt.dimension

background image

setLabelMinimumCellSize

public void setLabelMinimumCellSize(java.awt.Dimension size)

Property: If the cell is smaller than this size, in any dimension, the label will not be drawn. This can be used to hide the
label if the cells get to be too small to show the label in an acceptable way.

This is a property that affects the visual representation of the label in the cells. Setting the value to

null

will normally

make this label not appear at all.

Parameters:

size

- The new minumum size. May be

null

in which case the label is always shown.

See Also:

getLabelMinimumCellSize()

getNoExpandedFolderGridLine

public boolean getNoExpandedFolderGridLine()

Property: If the grid lines around a folded (collapsed) folder sub row should be merged to one. This is to avoid the double
grid lines that would be visible around rows with size 0 otherwise. It is purely a visual setting and won't affect any data or
functionality.

Returns:

The current state.

setNoExpandedFolderGridLine

public void setNoExpandedFolderGridLine(boolean b)

Property: If the grid lines around a folded (collapsed) folder sub row should be merged to one. This is to avoid the double
grid lines that would be visible around rows with size 0 otherwise. It is purely a visual setting and won't affect any data or
functionality.

Parameters:

b

- The new state. Default if

false

.

getHorizontalGridLinePaintEven

public java.awt.Paint getHorizontalGridLinePaintEven()

Property: The paint used to draw the even (0, 2, 4...) horizontal grid lines.

Returns:

The current paint. May be

null

.

setHorizontalGridLinePaintEven

public void setHorizontalGridLinePaintEven(java.awt.Paint paint)

Property: The paint used to draw the even (0, 2, 4...) horizontal grid lines.

Parameters:

paint

- The new paint. May be

null

.

Page 128 of 196

com.miginfocom.beans.DateAreaBean