LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.graphic
Interface LyGraphicalTreeNode

All Superinterfaces:
LyFreeInterface, LyGraphicalComponent, LySetColorInterface, LySetFontInterface, LySetHiddenInterface, LySetImageInterface, LySetLabelInterface, LySetSelectedInterface, LySetValidityInterface, LyViewComponent
All Known Implementing Classes:
LyJQTreeNode, LyMobileTreeNode, LyStrutsTreeNode, LySwingTreeNode

public interface LyGraphicalTreeNode
extends LyGraphicalComponent, LySetLabelInterface, LySetSelectedInterface, LySetHiddenInterface, LySetImageInterface, LySetValidityInterface, LySetFontInterface, LySetColorInterface

The LyGraphicalTreeNode interface represents the abstract graphical component for the treeNode of views.dtd regardless of the target (swing, swt, dhtml...).

See Also:
LyTreeNode

Field Summary
static java.lang.String __VERSION
           
 
Method Summary
 void addImage(LyImage images, int pos)
          Inserts a sub-component images at given position.
 void addTreeNode(LyTreeNode treeNodes, int pos)
          Inserts a sub-component treeNodes at given position.
 void removeImage(LyImage images)
          Removes a sub-component images.
 void removeTreeNode(LyTreeNode treeNodes)
          Removes a sub-component treeNodes.
 void setColor(java.lang.String color)
          Updates attribute color to the given value.
 void setExpandable(boolean expandable)
          Updates attribute expandable to the given value.
 void setFont(java.lang.String font)
          Updates attribute font to the given value.
 void setHidden(boolean hidden)
          Updates attribute hidden to the given value.
 void setImage(java.lang.String image)
          Updates attribute image to the given value.
 void setLabel(java.lang.String label)
          Updates attribute label to the given value.
 void setOpen(boolean open)
          Updates attribute open to the given value.
 void setSelected(boolean selected)
          Updates attribute selected to the given value.
 void setTooltip(java.lang.String tooltip)
          Updates attribute tooltip to the given value.
 void setValidity(LyTreeNode.Validity validity)
          Updates attribute validity to the given value.
 
Methods inherited from interface leon.view.graphic.LyGraphicalComponent
free, getViewComponent
 

Field Detail

__VERSION

static final java.lang.String __VERSION
See Also:
Constant Field Values
Method Detail

setLabel

void setLabel(java.lang.String label)
Updates attribute label to the given value.

Specified by:
setLabel in interface LySetLabelInterface
Parameters:
label - New value of label.

setTooltip

void setTooltip(java.lang.String tooltip)
Updates attribute tooltip to the given value.

Parameters:
tooltip - New value of tooltip.

setSelected

void setSelected(boolean selected)
Updates attribute selected to the given value.

Specified by:
setSelected in interface LySetSelectedInterface
Parameters:
selected - Boolean indicating if attribute selected is set or unset.

setOpen

void setOpen(boolean open)
Updates attribute open to the given value.

Parameters:
open - Boolean indicating if attribute open is set or unset.

setHidden

void setHidden(boolean hidden)
Updates attribute hidden to the given value.

Specified by:
setHidden in interface LySetHiddenInterface
Parameters:
hidden - Boolean indicating if attribute hidden is set or unset.

setExpandable

void setExpandable(boolean expandable)
Updates attribute expandable to the given value.

Parameters:
expandable - Boolean indicating if attribute expandable is set or unset.

setImage

void setImage(java.lang.String image)
Updates attribute image to the given value.

Specified by:
setImage in interface LySetImageInterface
Parameters:
image - New value of image.

setValidity

void setValidity(LyTreeNode.Validity validity)
Updates attribute validity to the given value.

Specified by:
setValidity in interface LySetValidityInterface
Parameters:
validity - New value of validity.

setFont

void setFont(java.lang.String font)
Updates attribute font to the given value.

Specified by:
setFont in interface LySetFontInterface
Parameters:
font - New value of font.

setColor

void setColor(java.lang.String color)
Updates attribute color to the given value.

Specified by:
setColor in interface LySetColorInterface
Parameters:
color - New value of color.

addImage

void addImage(LyImage images,
              int pos)
Inserts a sub-component images at given position.

Parameters:
images - The images to add to images list.
pos - Position where the sub-component is inserted.

removeImage

void removeImage(LyImage images)
Removes a sub-component images.

Parameters:
images - The images to remove to images list.

addTreeNode

void addTreeNode(LyTreeNode treeNodes,
                 int pos)
Inserts a sub-component treeNodes at given position.

Parameters:
treeNodes - The treeNodes to add to treeNodes list.
pos - Position where the sub-component is inserted.

removeTreeNode

void removeTreeNode(LyTreeNode treeNodes)
Removes a sub-component treeNodes.

Parameters:
treeNodes - The treeNodes to remove to treeNodes list.

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com