beautypg.com

MiG InfoCom MiG Calendar JavaBeans User Manual

Page 49

background image

boolean

isLeafCheckVisible

()

Property: If the check box is visible.

boolean

isLeafLabelSelectable

()

Property: If the label should be selectable.

boolean

isLeafRouteLabelClickToCheck

()

Property: If a click on the label should be transformed to a click on the check.

boolean

isRootVisible

()

Property: If the root node should be visible.

boolean

removeDecorator

(Class type, boolean inclSubClasses)

Removes the first decorator found with the class type

type

, including sub types id

inclSubClasses == true

.

void

removeDecorator

(Decorator decorator)

Removes a decorator.

void

removeDecorators

()

Removes all decorators.

void

removeDecorators

(Collection decorators)

Removes all decorators

void

removeInteractionListener

(InteractionListener l)

Removes the listener if it is added.

void

removeNotify

()

void

revalidateNodes

(Object fromCatId, boolean keepExpanded)

Revalidate the nodes starting from

fromCatId

.

void

setAntiAliasHint

(int hint)

Property: The anti alias hint for the label text.

void

setBackgroundPaint

(java.awt.Paint bgPaint)

Sets the background paint.

void

setCategoryAutoRevalidate

(boolean b)

Property: If the categories in the

CategoryDepository

changes the tree will revalidate

itself if there is a category root set.

void

setCategoryViewFilter

(CategoryViewFilter filter)

Property: A filter that can be used to filter out which Categories should be visible in the
tree.

static void

setCheckedState

(PropertyKey key, Category cat, boolean b)

Set the selected state for the category.

void

setCheckSelectedKey

(PropertyKey key)

Property: This is the key used to set in the

com.miginfocom.calendar.category.Category

a

Boolean

object denoting on if the

check is concidered selected or not.

void

setDecorators

(Collection decorators)

Sets the decorators to use.

void

setDemoDataBean

(

DemoDataBean

b)

Property: A reference to a demo data bean that creates demo category data for this bean.

Page 49 of 196

com.miginfocom.beans.CategoryTreeBean