Constructor and Description |
---|
TreeNode() |
TreeNode(String label,
org.eclipse.swt.graphics.Image image,
boolean expanded) |
Modifier and Type | Method and 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) |
public TreeNode()
public TreeNode(String label, org.eclipse.swt.graphics.Image image, boolean expanded)
public void addChild(TreeNode treeNode)
public boolean hasChildren()
public String getLabel()
public void setLabel(String label)
public org.eclipse.swt.graphics.Image getImage()
public void setImage(org.eclipse.swt.graphics.Image image)
public org.eclipse.swt.graphics.Font getFont()
public void setFont(org.eclipse.swt.graphics.Font font)
public org.eclipse.swt.graphics.Color getForeground()
public void setForeground(org.eclipse.swt.graphics.Color foreground)
public org.eclipse.swt.graphics.Color getBackground()
public void setBackground(org.eclipse.swt.graphics.Color background)
public boolean isExpanded()
public void setExpanded(boolean expanded)
public void removeAll()
public boolean isHidden()
public void setHidden(boolean hidden)
public int getIndex()
public void setIndex(int index)
Copyright © 2019 Hitachi Vantara. All rights reserved.