public class RsTreeAppearance
extends Css3TreeAppearance
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CSS_CHECK_NAME |
static java.lang.String |
CSS_ICON_NAME |
static java.lang.String |
CSS_ITEM_NAME |
static java.lang.String |
CSS_JOINT_NAME |
static java.lang.String |
CSS_OVER_NAME |
static java.lang.String |
CSS_SELECTED_NAME |
static java.lang.String |
CSS_TEXT_NAME |
Constructor and Description |
---|
RsTreeAppearance() |
RsTreeAppearance(Css3TreeResources resources) |
Modifier and Type | Method and Description |
---|---|
ImageResource |
closeNodeIcon() |
java.lang.String |
getIconStyle() |
XElement |
onCheckChange(XElement node,
XElement checkElement,
boolean checkable,
CheckState state) |
void |
onHover(XElement node,
boolean over) |
XElement |
onJointChange(XElement node,
XElement jointElement,
Joint joint,
TreeStyle ts) |
void |
onSelect(XElement node,
boolean select) |
ImageResource |
openNodeIcon() |
void |
renderNode(SafeHtmlBuilder sb,
java.lang.String id,
SafeHtml text,
TreeStyle ts,
ImageResource icon,
boolean checkable,
CheckState checked,
Joint joint,
int level,
TreeViewRenderMode renderMode) |
public static final java.lang.String CSS_JOINT_NAME
public static final java.lang.String CSS_ITEM_NAME
public static final java.lang.String CSS_ICON_NAME
public static final java.lang.String CSS_TEXT_NAME
public static final java.lang.String CSS_SELECTED_NAME
public static final java.lang.String CSS_OVER_NAME
public static final java.lang.String CSS_CHECK_NAME
public RsTreeAppearance()
public RsTreeAppearance(Css3TreeResources resources)
public void renderNode(SafeHtmlBuilder sb, java.lang.String id, SafeHtml text, TreeStyle ts, ImageResource icon, boolean checkable, CheckState checked, Joint joint, int level, TreeViewRenderMode renderMode)
public XElement onJointChange(XElement node, XElement jointElement, Joint joint, TreeStyle ts)
public XElement onCheckChange(XElement node, XElement checkElement, boolean checkable, CheckState state)
public java.lang.String getIconStyle()
public ImageResource closeNodeIcon()
public ImageResource openNodeIcon()
public void onSelect(XElement node, boolean select)
public void onHover(XElement node, boolean over)