Package org.freeplane.api
Interface NodeStyleRO
- All Known Subinterfaces:
- NodeStyle,- Proxy.NodeStyle,- Proxy.NodeStyleRO
public interface NodeStyleRO
Node's style: 
node.style - read-only.- 
Method SummaryModifier and TypeMethodDescriptionReturns all style names/translation keys active for the node.returns HTML color spec like #ff0000 (red) or #222222 (darkgray).getCss()getEdge()getFont()intintgetName()Returns the name of the node's style if set or null otherwise.Deprecated.booleanbooleanisCssSet()booleanbooleanbooleanbooleanbooleanboolean
- 
Method Details- 
getNameString 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
 
- 
getAllActiveStylesReturns all style names/translation keys active for the node.- Since:
- 1.9.8
- See Also:
 
- 
getStyleNodeNode getStyleNode()
- 
getBackgroundColorColor getBackgroundColor()
- 
getBackgroundColorCodeString getBackgroundColorCode()returns HTML color spec like #ff0000 (red) or #222222 (darkgray).- Since:
- 1.2
 
- 
getEdgeEdge getEdge()
- 
getBorderBorder getBorder()
- 
getFontFont getFont()
- 
getNodeTextColorDeprecated.since 1.2 - usegetTextColor()instead.
- 
getTextColorColor getTextColor()- Since:
- 1.2
 
- 
getTextColorCodeString getTextColorCode()
- 
isFloatingboolean isFloating()- Since:
- 1.2 true if the floating style is set for the node (aka "free node").
 
- 
getMinNodeWidthint getMinNodeWidth()- Since:
- 1.2.20
 
- 
getMaxNodeWidthint getMaxNodeWidth()- Since:
- 1.2.20
 
- 
isNumberingEnabledboolean isNumberingEnabled()- Since:
- 1.3.8
 
- 
getCssString getCss()- Since:
- 1.9.12
 
- 
isCssSetboolean isCssSet()- Since:
- 1.9.12
 
- 
isBackgroundColorSetboolean isBackgroundColorSet()- Since:
- 1.9.12
 
- 
isTextColorSetboolean isTextColorSet()- Since:
- 1.9.12
 
- 
isMinNodeWidthSetboolean isMinNodeWidthSet()- Since:
- 1.9.12
 
- 
isMaxNodeWidthSetboolean isMaxNodeWidthSet()- Since:
- 1.9.12
 
- 
isHorizontalTextAlignmentSetboolean isHorizontalTextAlignmentSet()- Since:
- 1.11.8
 
- 
getHorizontalTextAlignmentHorizontalTextAlignment getHorizontalTextAlignment()- Since:
- 1.11.8
 
 
- 
getTextColor()instead.