GroupNode, LayerNode, LegendNode, MapFramepublic abstract class ItemNode extends Object
| 构造器 | 说明 |
|---|---|
ItemNode() |
Constructor
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
collapse() |
Collapse the node
|
void |
expand() |
Expand the node
|
Color |
getBackColor() |
Get background color
|
abstract int |
getDrawHeight() |
Get drawing height
|
abstract int |
getExpandedHeight() |
Get expanded height
|
Color |
getForeColor() |
Get foreground color
|
int |
getHeight() |
Get height
|
NodeTypes |
getNodeType() |
Get node type
|
LayersLegend |
getParentLegend() |
Get parent layers legend
|
String |
getText() |
Get text
|
int |
getTop() |
Get top
|
boolean |
isChecked() |
Get if is checked
|
boolean |
isExpanded() |
Get if is expanded
|
boolean |
isSelected() |
Get if is selected
|
void |
setBackColor(Color backColor) |
Set background color
|
void |
setChecked(boolean checked) |
Set if is checked
|
void |
setForeColor(Color foreColor) |
Set foreground color
|
void |
setHeight(int height) |
Set height
|
void |
setNodeType(NodeTypes nodeType) |
Set node type
|
void |
setParentLegend(LayersLegend aLegend) |
Set parent legend
|
void |
setSelected(boolean sel) |
Set if is selected
|
void |
setText(String text) |
Set text
|
void |
setTop(int top) |
Set top
|
public LayersLegend getParentLegend()
public int getTop()
public void setTop(int top)
top - Toppublic int getHeight()
public void setHeight(int height)
height - Heightpublic boolean isExpanded()
public boolean isChecked()
public void setChecked(boolean checked)
checked - Booleanpublic String getText()
public void setText(String text)
text - The textpublic Color getBackColor()
public void setBackColor(Color backColor)
backColor - Background colorpublic Color getForeColor()
public void setForeColor(Color foreColor)
foreColor - Foreground colorpublic NodeTypes getNodeType()
public void setNodeType(NodeTypes nodeType)
nodeType - The node typepublic boolean isSelected()
public void setSelected(boolean sel)
sel - Booleanpublic void setParentLegend(LayersLegend aLegend)
aLegend - The layers legendpublic void expand()
public void collapse()
public abstract int getExpandedHeight()
public abstract int getDrawHeight()
Copyright © 2019. All rights reserved.