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);
}
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);
}
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);
}
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);
}
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);
}
Aggregations