|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.view.win.swing.component.LyJTreeElementImpl._LyNodeContent
public static class LyJTreeElementImpl._LyNodeContent
This class implements the informations that are useful to correctly display a node.
Constructor Summary | |
---|---|
LyJTreeElementImpl._LyNodeContent(java.awt.Image image,
java.lang.String label,
boolean selected,
boolean open)
Creates a node with the specified informations. |
|
LyJTreeElementImpl._LyNodeContent(java.awt.Image image,
java.lang.String label,
java.lang.String tooltip,
boolean selected,
boolean open)
Creates a node with the specified informations. |
Method Summary | |
---|---|
java.awt.Image |
getImage()
Gets the image of this node. |
java.lang.String |
getLabel()
Gets the text label of this node. |
java.lang.String |
getTooltip()
Gets the tooltip text of this node. |
boolean |
isOpen()
Indicates that this node is opened. |
boolean |
isSelected()
Indicates that this node is selected. |
void |
setImage(java.awt.Image im)
Sets the image of this node. |
void |
setLabel(java.lang.String label)
Sets the text label of this node. |
void |
setOpen(boolean open)
Sets the opened status of this node. |
void |
setSelected(boolean selected)
Sets the selected status of this node. |
void |
setTooltip(java.lang.String tooltip)
Sets the tooltip text of this node. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LyJTreeElementImpl._LyNodeContent(java.awt.Image image, java.lang.String label, boolean selected, boolean open)
image
- the image of this nodelabel
- the text labelselected
- Indicates that this node is selected.open
- Indicates that this node is opened.public LyJTreeElementImpl._LyNodeContent(java.awt.Image image, java.lang.String label, java.lang.String tooltip, boolean selected, boolean open)
image
- the image of this nodelabel
- the text labeltooltip
- the tooltip textselected
- Indicates that this node is selected.open
- Indicates that this node is opened.Method Detail |
---|
public java.awt.Image getImage()
setImage(Image)
public void setImage(java.awt.Image im)
im
- the new imagegetImage()
public java.lang.String getLabel()
setLabel(String)
public void setLabel(java.lang.String label)
label
- the new text labelgetLabel()
public java.lang.String getTooltip()
setTooltip(String)
public void setTooltip(java.lang.String tooltip)
tooltip
- the new tooltipgetTooltip()
public boolean isSelected()
true
if this node is selected, false
otherwisesetSelected(boolean)
public void setSelected(boolean selected)
selected
- Indicates that this node is selected or not.isSelected()
public boolean isOpen()
true
if this node is opened, false
otherwisesetOpen(boolean)
public void setOpen(boolean open)
open
- Indicates that this node is opened or not.isOpen()
public java.lang.String toString()
toString
in class java.lang.Object
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |