Getlabelfoldonpress(), Getnoexpandedfoldergridline(), Interactionoccured(interactionevent) – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 31: Setnoexpandedfoldergridline(boolean), Getlabelfoldonpress, Getnoexpandedfoldergridline, Interactionoccured, Setnoexpandedfoldergridline

Advertising
background image

(continued from last page)

interactionOccured

public void interactionOccured(InteractionEvent e)

getNoExpandedFolderGridLine

public boolean getNoExpandedFolderGridLine()

Deprecated. Use DateAreaBean#getNoExpandedFolderGridLine instead.

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:

Always

false

.

setNoExpandedFolderGridLine

public void setNoExpandedFolderGridLine(boolean b)

Deprecated. Use DateAreaBean#setNoExpandedFolderGridLine instead.

Deprecated because of duplication.

getLabelFoldOnPress

public boolean getLabelFoldOnPress()

Property: If the corresponding sub row should be folded when the user press the label in the category header. This is done
by catching the

com.miginfocom.ashape.interaction.InteractionEvent

and fold the corresponding row. This

can also be done manually, to get more control, by adding a listener with

addInteractionListener(InteractionListener)

and there perform code like:

Object interacted = e.getInteractor().getInteracted();

if (interacted instanceof GridRow) {

GridRow row = (GridRow) interacted;

row.setFolded(!row.isFolded());

revalidateRepaintContainer();

}

Returns:

The current value.

See Also:

getKnobFoldOnPress()

Page 31 of 196

com.miginfocom.beans.CategoryHeaderBean

Advertising