use of org.freeplane.core.resources.components.NextColumnProperty in project freeplane by freeplane.
the class StyleEditorPanel method getControls.
private List<IPropertyControl> getControls() {
final List<IPropertyControl> controls = new ArrayList<IPropertyControl>();
controls.add(new SeparatorProperty("OptionPanel.separator.NodeColors"));
addColorControl(controls);
addBgColorControl(controls);
controls.add(new SeparatorProperty("OptionPanel.separator.NodeText"));
addFormatControl(controls);
addNodeNumberingControl(controls);
controls.add(new SeparatorProperty("OptionPanel.separator.NodeShape"));
addNodeShapeControl(controls);
addMinNodeWidthControl(controls);
addMaxNodeWidthControl(controls);
controls.add(new NextLineProperty());
controls.add(new SeparatorProperty("OptionPanel.separator.NodeFont"));
addFontNameControl(controls);
addFontSizeControl(controls);
addFontBoldControl(controls);
addFontItalicControl(controls);
addFontHyperlinkControl(controls);
controls.add(new NextLineProperty());
controls.add(new SeparatorProperty("OptionPanel.separator.EdgeControls"));
addEdgeWidthControl(controls);
addEdgeStyleControl(controls);
addEdgeColorControl(controls);
controls.add(new NextLineProperty());
controls.add(new SeparatorProperty("OptionPanel.separator.CloudControls"));
addCloudColorControl(controls);
controls.add(new NextLineProperty());
controls.add(new NextColumnProperty(2));
addCloudShapeControl(controls);
return controls;
}
use of org.freeplane.core.resources.components.NextColumnProperty in project freeplane by freeplane.
the class NodeShapeControlGroup method addControlGroup.
public void addControlGroup(DefaultFormBuilder formBuilder) {
mSetNodeShape = new BooleanProperty(ControlGroup.SET_RESOURCE);
mNodeShape = ComboProperty.of(NODE_SHAPE, NodeStyleModel.Shape.class);
mShapeHorizontalMargin = new QuantityProperty<LengthUnits>(SHAPE_HORIZONTAL_MARGIN, 0, 1000, 0.1, LengthUnits.pt);
mShapeVerticalMargin = new QuantityProperty<LengthUnits>(SHAPE_VERTICAL_MARGIN, 0, 1000, 0.1, LengthUnits.pt);
mUniformShape = new BooleanProperty(UNIFORM_SHAPE);
propertyChangeListener = new NodeShapeChangeListener(mSetNodeShape, mNodeShape, mShapeHorizontalMargin, mShapeVerticalMargin, mUniformShape);
mSetNodeShape.addPropertyChangeListener(propertyChangeListener);
mNodeShape.addPropertyChangeListener(propertyChangeListener);
mShapeHorizontalMargin.addPropertyChangeListener(propertyChangeListener);
mShapeVerticalMargin.addPropertyChangeListener(propertyChangeListener);
mUniformShape.addPropertyChangeListener(propertyChangeListener);
mSetNodeShape.layout(formBuilder);
mNodeShape.layout(formBuilder);
new NextColumnProperty(2).layout(formBuilder);
mShapeHorizontalMargin.layout(formBuilder);
new NextColumnProperty(2).layout(formBuilder);
mShapeVerticalMargin.layout(formBuilder);
new NextColumnProperty(2).layout(formBuilder);
mUniformShape.layout(formBuilder);
}
use of org.freeplane.core.resources.components.NextColumnProperty in project freeplane by freeplane.
the class CloudColorShapeControlGroup method addControlGroup.
@Override
public void addControlGroup(DefaultFormBuilder formBuilder) {
addCloudColorControl(formBuilder);
new NextLineProperty().layout(formBuilder);
new NextColumnProperty(2).layout(formBuilder);
addCloudShapeControl(formBuilder);
}
Aggregations