public class NodeStyleBase extends Object implements NodeStyle
| Modifier and Type | Field and Description |
|---|---|
protected String |
activeColor |
protected boolean |
addLocation |
protected boolean |
addName |
protected boolean |
addSimpleValues |
protected boolean |
addType |
protected String |
inactiveColor |
protected String |
shape |
| Constructor and Description |
|---|
NodeStyleBase() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addLocation()
Is the location of the resource written?
|
boolean |
addName()
Is the name of the node written?
|
boolean |
addSimpleValues()
Indicates if simple resources are printed with their current value.
|
boolean |
addType()
Is the type of the node written?
|
String |
getActiveColor()
Gets the color used for active nodes.
|
String |
getInactiveColor()
Gets the color used for inactive nodes.
|
String |
getShape()
Gets the shape of the node.
|
void |
setActiveColor(String color)
Sets the color used for active nodes.
|
void |
setAddLocations(boolean flag) |
void |
setAddName(boolean flag) |
void |
setAddSimpleValues(boolean flag) |
void |
setAddType(boolean flag) |
void |
setInactiveColor(String color)
Sets the color used for inactive resources.
|
void |
setShape(String shape)
Sets the shape of the node to a new shape.
|
protected String activeColor
protected String inactiveColor
protected String shape
protected boolean addType
protected boolean addName
protected boolean addLocation
protected boolean addSimpleValues
public String getActiveColor()
NodeStylegetActiveColor in interface NodeStylepublic void setActiveColor(String color)
NodeStylesetActiveColor in interface NodeStylepublic String getInactiveColor()
NodeStylegetInactiveColor in interface NodeStylepublic void setInactiveColor(String color)
NodeStylesetInactiveColor in interface NodeStylepublic boolean addType()
NodeStylepublic void setAddType(boolean flag)
setAddType in interface NodeStylepublic boolean addName()
NodeStylepublic void setAddName(boolean flag)
setAddName in interface NodeStylepublic boolean addLocation()
NodeStyleaddLocation in interface NodeStylepublic void setAddLocations(boolean flag)
setAddLocations in interface NodeStylepublic boolean addSimpleValues()
NodeStyleaddSimpleValues in interface NodeStylepublic void setAddSimpleValues(boolean flag)
setAddSimpleValues in interface NodeStylepublic String getShape()
NodeStyleCopyright © 2018. All rights reserved.