Search in sources :

Example 11 with BooleanProperty

use of org.freeplane.core.resources.components.BooleanProperty in project freeplane by freeplane.

the class EdgeDashControlGroup method addControlGroup.

@Override
public void addControlGroup(DefaultFormBuilder formBuilder) {
    mSetEdgeDash = new BooleanProperty(ControlGroup.SET_RESOURCE);
    mEdgeDash = ComboProperty.of(EDGE_DASH, DashVariant.class);
    propertyChangeListener = new EdgeDashChangeListener(mSetEdgeDash, mEdgeDash);
    mSetEdgeDash.addPropertyChangeListener(propertyChangeListener);
    mEdgeDash.addPropertyChangeListener(propertyChangeListener);
    mSetEdgeDash.layout(formBuilder);
    mEdgeDash.layout(formBuilder);
}
Also used : DashVariant(org.freeplane.features.DashVariant) BooleanProperty(org.freeplane.core.resources.components.BooleanProperty)

Example 12 with BooleanProperty

use of org.freeplane.core.resources.components.BooleanProperty in project freeplane by freeplane.

the class EdgeStyleControlGroup method addControlGroup.

@Override
public void addControlGroup(DefaultFormBuilder formBuilder) {
    mSetEdgeStyle = new BooleanProperty(ControlGroup.SET_RESOURCE);
    mEdgeStyle = new ComboProperty(EDGE_STYLE, EDGE_STYLES);
    propertyChangeListener = new EdgeStyleChangeListener(mSetEdgeStyle, mEdgeStyle);
    mSetEdgeStyle.addPropertyChangeListener(propertyChangeListener);
    mEdgeStyle.addPropertyChangeListener(propertyChangeListener);
    mSetEdgeStyle.layout(formBuilder);
    mEdgeStyle.layout(formBuilder);
}
Also used : ComboProperty(org.freeplane.core.resources.components.ComboProperty) BooleanProperty(org.freeplane.core.resources.components.BooleanProperty)

Example 13 with BooleanProperty

use of org.freeplane.core.resources.components.BooleanProperty in project freeplane by freeplane.

the class EdgeWidthControlGroup method addControlGroup.

@Override
public void addControlGroup(DefaultFormBuilder formBuilder) {
    mSetEdgeWidth = new BooleanProperty(ControlGroup.SET_RESOURCE);
    mEdgeWidth = new NumberProperty(EDGE_WIDTH, 0, 100, 1);
    propertyChangeListener = new EdgeWidthChangeListener(mSetEdgeWidth, mEdgeWidth);
    mSetEdgeWidth.addPropertyChangeListener(propertyChangeListener);
    mEdgeWidth.addPropertyChangeListener(propertyChangeListener);
    mSetEdgeWidth.layout(formBuilder);
    mEdgeWidth.layout(formBuilder);
}
Also used : BooleanProperty(org.freeplane.core.resources.components.BooleanProperty) NumberProperty(org.freeplane.core.resources.components.NumberProperty)

Example 14 with BooleanProperty

use of org.freeplane.core.resources.components.BooleanProperty in project freeplane by freeplane.

the class FontBoldControlGroup method addControlGroup.

@Override
public void addControlGroup(DefaultFormBuilder formBuilder) {
    mSetNodeFontBold = new BooleanProperty(ControlGroup.SET_RESOURCE);
    mNodeFontBold = new BooleanProperty(NODE_FONT_BOLD);
    propertyChangeListener = new FontBoldChangeListener(mSetNodeFontBold, mNodeFontBold);
    mSetNodeFontBold.addPropertyChangeListener(propertyChangeListener);
    mNodeFontBold.addPropertyChangeListener(propertyChangeListener);
    mSetNodeFontBold.layout(formBuilder);
    mNodeFontBold.layout(formBuilder);
}
Also used : BooleanProperty(org.freeplane.core.resources.components.BooleanProperty)

Example 15 with BooleanProperty

use of org.freeplane.core.resources.components.BooleanProperty in project freeplane by freeplane.

the class FontItalicControlGroup method addControlGroup.

@Override
public void addControlGroup(DefaultFormBuilder formBuilder) {
    mSetNodeFontItalic = new BooleanProperty(ControlGroup.SET_RESOURCE);
    mNodeFontItalic = new BooleanProperty(NODE_FONT_ITALIC);
    propertyChangeListener = new FontItalicChangeListener(mSetNodeFontItalic, mNodeFontItalic);
    mSetNodeFontItalic.addPropertyChangeListener(propertyChangeListener);
    mNodeFontItalic.addPropertyChangeListener(propertyChangeListener);
    mSetNodeFontItalic.layout(formBuilder);
    mNodeFontItalic.layout(formBuilder);
}
Also used : BooleanProperty(org.freeplane.core.resources.components.BooleanProperty)

Aggregations

BooleanProperty (org.freeplane.core.resources.components.BooleanProperty)44 ColorProperty (org.freeplane.core.resources.components.ColorProperty)8 ComboProperty (org.freeplane.core.resources.components.ComboProperty)6 LengthUnits (org.freeplane.core.ui.LengthUnits)6 NumberProperty (org.freeplane.core.resources.components.NumberProperty)4 PropertyChangeEvent (java.beans.PropertyChangeEvent)3 PropertyChangeListener (java.beans.PropertyChangeListener)3 ArrayList (java.util.ArrayList)2 JLabel (javax.swing.JLabel)2 FontProperty (org.freeplane.core.resources.components.FontProperty)2 DashVariant (org.freeplane.features.DashVariant)2 Vector (java.util.Vector)1 NextColumnProperty (org.freeplane.core.resources.components.NextColumnProperty)1 Shape (org.freeplane.features.nodestyle.NodeStyleModel.Shape)1 EditablePatternComboProperty (org.freeplane.features.styles.mindmapmode.EditablePatternComboProperty)1