Getcellborder(), Getknobexpandedimage(), Getknobfoldedimage() – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 38: Setcellborder(border), Setfolderoverlapchildren(boolean), Setknobexpandedimage(xtdimage), Getcellborder, Getknobexpandedimage, Getknobfoldedimage, Setcellborder

Advertising
background image

(continued from last page)

The folder rows' size should include its childrens bounds in the secondary dimension.

setFolderOverlapChildren

public void setFolderOverlapChildren(boolean b)

Property: If the folder category rows, which contains other rows, should get it's secondary dimension's (along the header)
size stretched over all its sub rows bounds. Example 2 in

setHeaderLevels(DefaultSubRowLevel[])

shows how this

might look. Note that this is only in the secondary dimension.

Parameters:

b

- Whether folder rows' size should include its childrens bounds in the secondary dimension.

getCellBorder

public javax.swing.border.Border getCellBorder()

Property: The

javax.swing.border.Border

used to draw around the cells in the header.

Returns:

The current border or

null

if no border should be painted.

setCellBorder

public void setCellBorder(javax.swing.border.Border border)

Property: The

javax.swing.border.Border

used to draw around the cells in the header.

Parameters:

border

- The new border or

null

if no border should be painted.

getKnobExpandedImage

public XtdImage getKnobExpandedImage()

Property: A

com.miginfocom.util.gfx.XtdImage

(which is a very flexible

Image/Icon

) that should decorate the

knob (handle, e.g. +-) that you press th expand/fold the folder rows. This is for folder rows that are in their expanded state.

Returns:

The current image or

null

for none.

setKnobExpandedImage

public void setKnobExpandedImage(XtdImage image)

Property: A

com.miginfocom.util.gfx.XtdImage

(which is a very flexible

Image/Icon

) that should decorate the

knob (handle, e.g. +-) that you press th expand/fold the folder rows. This is for folder rows that are in their expanded state.

Parameters:

image

- The new image or

null

for none.

getKnobFoldedImage

public XtdImage getKnobFoldedImage()

Property: A

com.miginfocom.util.gfx.XtdImage

(which is a very flexible

Image/Icon

) that should decorate the

knob (handle, e.g. +-) that you press th expand/fold the folder rows. This is for folder rows that are in their folded state.

Returns:

Page 38 of 196

com.miginfocom.beans.CategoryHeaderBean

Advertising