Getcheckselectedkey(), Getlabelselectedkey(), Setcategoryautorevalidate(boolean) – MiG InfoCom MiG Calendar JavaBeans User Manual
Page 60: Setcheckselectedkey(propertykey), Setlabelselectedkey(propertykey), Getcheckselectedkey, Getlabelselectedkey, Setcategoryautorevalidate, Boolean, Setcheckselectedkey

setCategoryAutoRevalidate
public void setCategoryAutoRevalidate(boolean b)
Property: If the categories in the
CategoryDepository
changes the tree will revalidate itself if there is a category root
set.
Parameters:
b
- If the auto revalidation is on.
getLabelSelectedKey
public PropertyKey getLabelSelectedKey()
Property: This is the key used to set in the
com.miginfocom.calendar.category.Category
a
Boolean
object
denoting on if the label is concidered selected or not.
The key defaults to
but using that means that all category trees will have the same model state for
a category, which is sometime wanted and sometimes not.
Returns:
The current key. Never
null
.
setLabelSelectedKey
public void setLabelSelectedKey(PropertyKey key)
Property: This is the key used to set in the
com.miginfocom.calendar.category.Category
a
Boolean
object
denoting on if the label is concidered selected or not.
The key defaults to
but using that means that all category trees will have the same model state for
a category, which is sometime wanted and sometimes not.
Parameters:
key
- The new key.
null
will reset it to the default value.
getCheckSelectedKey
public PropertyKey getCheckSelectedKey()
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.
The key defaults to
but using that means that all category trees will have the same model state for
a category, which is sometime wanted and sometimes not.
Returns:
The current key. Never
null
.
setCheckSelectedKey
public 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.
The key defaults to
but using that means that all category trees will have the same model state for
a category, which is sometime wanted and sometimes not.
Parameters:
Page 60 of 196
com.miginfocom.beans.CategoryTreeBean