Getleafselectedunderline(), Isrootvisible(), Revalidatenodes(object, boolean) – MiG InfoCom MiG Calendar JavaBeans User Manual
Page 80: Setleafselectedforeground(color), Setleafselectedunderline(integer), Setrootvisible(boolean), Getleafselectedunderline, Isrootvisible, Revalidatenodes, Setleafselectedforeground
![background image](https://www.manualsdir.com/files/798675/content/doc080.png)
setLeafSelectedForeground
public void setLeafSelectedForeground(java.awt.Color c)
Property: The foreground if the node label is selected.
Parameters:
c
- The new value. Default is
null
which means same as when not selected.
getLeafSelectedUnderline
public Integer getLeafSelectedUnderline()
Property: The underline in pixels if the node label is selected.
Returns:
The current value. Default is
null
which means same as when not selected.
setLeafSelectedUnderline
public void setLeafSelectedUnderline(Integer width)
Property: The underline in pixels if the node label is selected.
Parameters:
width
- The new value. Default is
null
which means same as when not selected.
isRootVisible
public boolean isRootVisible()
Property: If the root node should be visible.
Returns:
The old value. Default is
false
.
setRootVisible
public void setRootVisible(boolean b)
Property: If the root node should be visible.
Parameters:
b
- The new value. Default is
false
.
revalidateNodes
public void revalidateNodes(Object fromCatId,
boolean keepExpanded)
Revalidate the nodes starting from
fromCatId
.
Parameters:
fromCatId
- The category id to start from. Not the Node or Category, but the ID.
keepExpanded
- If the tree shold have the same expanded state after the call.
Page 80 of 196
com.miginfocom.beans.CategoryTreeBean