Package org.freeplane.api
Interface NodeStyleRO
-
- All Known Subinterfaces:
NodeStyle,Proxy.NodeStyle,Proxy.NodeStyleRO
public interface NodeStyleRONode's style:node.style- read-only.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.awt.ColorgetBackgroundColor()java.lang.StringgetBackgroundColorCode()returns HTML color spec like #ff0000 (red) or #222222 (darkgray).EdgegetEdge()FontgetFont()intgetMaxNodeWidth()intgetMinNodeWidth()java.lang.StringgetName()Returns the name of the node's style if set or null otherwise.java.awt.ColorgetNodeTextColor()Deprecated.since 1.2 - usegetTextColor()instead.NodegetStyleNode()java.awt.ColorgetTextColor()java.lang.StringgetTextColorCode()booleanisFloating()booleanisNumberingEnabled()
-
-
-
Method Detail
-
getName
java.lang.String getName()
Returns the name of the node's style if set or null otherwise. For styles with translated names the translation key is returned to make the process robust against language setting changes. It's guaranteed thatnode.style.name = node.style.namedoes not change the style.- Since:
- 1.2.2
-
getStyleNode
Node getStyleNode()
-
getBackgroundColor
java.awt.Color getBackgroundColor()
-
getBackgroundColorCode
java.lang.String getBackgroundColorCode()
returns HTML color spec like #ff0000 (red) or #222222 (darkgray).- Since:
- 1.2
-
getEdge
Edge getEdge()
-
getFont
Font getFont()
-
getNodeTextColor
@Deprecated java.awt.Color getNodeTextColor()
Deprecated.since 1.2 - usegetTextColor()instead.
-
getTextColor
java.awt.Color getTextColor()
- Since:
- 1.2
-
getTextColorCode
java.lang.String getTextColorCode()
-
isFloating
boolean isFloating()
- Since:
- 1.2 true if the floating style is set for the node (aka "free node").
-
getMinNodeWidth
int getMinNodeWidth()
- Since:
- 1.2.20
-
getMaxNodeWidth
int getMaxNodeWidth()
- Since:
- 1.2.20
-
isNumberingEnabled
boolean isNumberingEnabled()
- Since:
- 1.3.8
-
-