Class TreeNode
- java.lang.Object
-
- org.pentaho.di.ui.core.widget.tree.TreeNode
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChild(TreeNode treeNode)
org.eclipse.swt.graphics.Color
getBackground()
List<TreeNode>
getChildren()
Map<String,Object>
getData()
org.eclipse.swt.graphics.Font
getFont()
org.eclipse.swt.graphics.Color
getForeground()
org.eclipse.swt.graphics.Image
getImage()
int
getIndex()
String
getLabel()
boolean
hasChildren()
boolean
isExpanded()
boolean
isHidden()
void
removeAll()
void
setBackground(org.eclipse.swt.graphics.Color background)
void
setData(String key, Object value)
void
setExpanded(boolean expanded)
void
setFont(org.eclipse.swt.graphics.Font font)
void
setForeground(org.eclipse.swt.graphics.Color foreground)
void
setHidden(boolean hidden)
void
setImage(org.eclipse.swt.graphics.Image image)
void
setIndex(int index)
void
setLabel(String label)
-
-
-
Constructor Detail
-
TreeNode
public TreeNode()
-
TreeNode
public TreeNode(String label, org.eclipse.swt.graphics.Image image, boolean expanded)
-
-
Method Detail
-
addChild
public void addChild(TreeNode treeNode)
-
hasChildren
public boolean hasChildren()
-
getLabel
public String getLabel()
-
setLabel
public void setLabel(String label)
-
getImage
public org.eclipse.swt.graphics.Image getImage()
-
setImage
public void setImage(org.eclipse.swt.graphics.Image image)
-
getFont
public org.eclipse.swt.graphics.Font getFont()
-
setFont
public void setFont(org.eclipse.swt.graphics.Font font)
-
getForeground
public org.eclipse.swt.graphics.Color getForeground()
-
setForeground
public void setForeground(org.eclipse.swt.graphics.Color foreground)
-
getBackground
public org.eclipse.swt.graphics.Color getBackground()
-
setBackground
public void setBackground(org.eclipse.swt.graphics.Color background)
-
isExpanded
public boolean isExpanded()
-
setExpanded
public void setExpanded(boolean expanded)
-
removeAll
public void removeAll()
-
isHidden
public boolean isHidden()
-
setHidden
public void setHidden(boolean hidden)
-
getIndex
public int getIndex()
-
setIndex
public void setIndex(int index)
-
-