Search in sources :

Example 21 with LengthUnits

use of org.freeplane.core.ui.LengthUnits in project freeplane by freeplane.

the class NodeStyleController method getBorderWidth.

public Quantity<LengthUnits> getBorderWidth(NodeModel node) {
    final MapModel map = node.getMap();
    final LogicalStyleController styleController = LogicalStyleController.getController(modeController);
    final Collection<IStyle> style = styleController.getStyles(node);
    final Quantity<LengthUnits> borderWidth = getBorderWidth(map, style);
    return borderWidth;
}
Also used : IStyle(org.freeplane.features.styles.IStyle) LengthUnits(org.freeplane.core.ui.LengthUnits) LogicalStyleController(org.freeplane.features.styles.LogicalStyleController) MapModel(org.freeplane.features.map.MapModel)

Aggregations

LengthUnits (org.freeplane.core.ui.LengthUnits)21 BooleanProperty (org.freeplane.core.resources.components.BooleanProperty)6 IStyle (org.freeplane.features.styles.IStyle)6 NodeModel (org.freeplane.features.map.NodeModel)5 IActor (org.freeplane.core.undo.IActor)4 MapStyleModel (org.freeplane.features.styles.MapStyleModel)4 MapController (org.freeplane.features.map.MapController)3 Icon (javax.swing.Icon)2 IconFactory (org.freeplane.features.icon.factory.IconFactory)2 MapModel (org.freeplane.features.map.MapModel)2 ModeController (org.freeplane.features.mode.ModeController)2 NodeSizeModel (org.freeplane.features.nodestyle.NodeSizeModel)2 LogicalStyleController (org.freeplane.features.styles.LogicalStyleController)2 Color (java.awt.Color)1 Font (java.awt.Font)1 NextColumnProperty (org.freeplane.core.resources.components.NextColumnProperty)1 FreeplaneIconFactory (org.freeplane.core.ui.svgicons.FreeplaneIconFactory)1 Quantity (org.freeplane.core.util.Quantity)1 DashVariant (org.freeplane.features.DashVariant)1 IconController (org.freeplane.features.icon.IconController)1