public final class NodeLabel extends Object
Constructor and Description |
---|
NodeLabel(boolean visible,
String alignment,
String fontFamily,
int fontSize,
String fontStyle,
String textColor,
String modelName,
String modelPosition,
String autoSizePolicy,
String text)
Create a new node label from the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
String |
getAlignment()
Return the alignment for this node label.
|
String |
getAutoSizePolicy()
Return the auto size policy for this node label.
|
String |
getFontFamily()
Return the font family for this node label.
|
int |
getFontSize()
Return the font size for this node label.
|
String |
getFontStyle()
Return the font style for this node label.
|
String |
getModelName()
Return the model name for this node label.
|
String |
getModelPosition()
Return the model position for this node label.
|
String |
getText()
Return the text for this node label.
|
String |
getTextColor()
Return the text color for this node label.
|
boolean |
isVisible()
Return true if this node label is visible.
|
public NodeLabel(boolean visible, String alignment, String fontFamily, int fontSize, String fontStyle, String textColor, String modelName, String modelPosition, String autoSizePolicy, String text)
visible
- true if this node label is visiblealignment
- alignment for this node label, must not be nullfontFamily
- font family for this node label, must not be nullfontSize
- font size for this node labelfontStyle
- font style for this node label, must not be nulltextColor
- text color for this node label, must not be nullmodelName
- model name for this node label, must not be nullmodelPosition
- model position for this node label, must not be nullautoSizePolicy
- auto size policy for this node label, must not be nulltext
- text for this node label, must not be nullpublic boolean isVisible()
public String getAlignment()
public String getFontFamily()
public int getFontSize()
public String getFontStyle()
public String getTextColor()
public String getModelName()
public String getModelPosition()
public String getAutoSizePolicy()
public String getText()
Copyright (c) 2008-2013 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).