Search in sources :

Example 1 with NextLineProperty

use of org.freeplane.core.resources.components.NextLineProperty 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;
}
Also used : SeparatorProperty(org.freeplane.core.resources.components.SeparatorProperty) NextLineProperty(org.freeplane.core.resources.components.NextLineProperty) NextColumnProperty(org.freeplane.core.resources.components.NextColumnProperty) ArrayList(java.util.ArrayList) IPropertyControl(org.freeplane.core.resources.components.IPropertyControl)

Example 2 with NextLineProperty

use of org.freeplane.core.resources.components.NextLineProperty 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);
}
Also used : NextLineProperty(org.freeplane.core.resources.components.NextLineProperty) NextColumnProperty(org.freeplane.core.resources.components.NextColumnProperty)

Aggregations

NextColumnProperty (org.freeplane.core.resources.components.NextColumnProperty)2 NextLineProperty (org.freeplane.core.resources.components.NextLineProperty)2 ArrayList (java.util.ArrayList)1 IPropertyControl (org.freeplane.core.resources.components.IPropertyControl)1 SeparatorProperty (org.freeplane.core.resources.components.SeparatorProperty)1