Search in sources :

Example 1 with BooleanProperty

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

the class StyleEditorPanel method addFontItalicControl.

private void addFontItalicControl(final List<IPropertyControl> controls) {
    mSetNodeFontItalic = new BooleanProperty(StyleEditorPanel.SET_RESOURCE);
    controls.add(mSetNodeFontItalic);
    mNodeFontItalic = new BooleanProperty(StyleEditorPanel.NODE_FONT_ITALIC);
    controls.add(mNodeFontItalic);
    final FontItalicChangeListener listener = new FontItalicChangeListener(mSetNodeFontItalic, mNodeFontItalic);
    mSetNodeFontItalic.addPropertyChangeListener(listener);
    mNodeFontItalic.addPropertyChangeListener(listener);
    mNodeFontItalic.fireOnMouseClick();
}
Also used : BooleanProperty(org.freeplane.core.resources.components.BooleanProperty)

Example 2 with BooleanProperty

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

the class StyleEditorPanel method addFontHyperlinkControl.

private void addFontHyperlinkControl(final List<IPropertyControl> controls) {
    mSetNodeFontHyperlink = new BooleanProperty(StyleEditorPanel.SET_RESOURCE);
    controls.add(mSetNodeFontHyperlink);
    mNodeFontHyperlink = new BooleanProperty(StyleEditorPanel.NODE_FONT_HYPERLINK);
    controls.add(mNodeFontHyperlink);
    final FontHyperlinkChangeListener listener = new FontHyperlinkChangeListener(mSetNodeFontHyperlink, mNodeFontHyperlink);
    mSetNodeFontHyperlink.addPropertyChangeListener(listener);
    mNodeFontHyperlink.addPropertyChangeListener(listener);
    mNodeFontHyperlink.fireOnMouseClick();
}
Also used : BooleanProperty(org.freeplane.core.resources.components.BooleanProperty)

Example 3 with BooleanProperty

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

the class StyleEditorPanel method addFontNameControl.

private void addFontNameControl(final List<IPropertyControl> controls) {
    mSetNodeFontName = new BooleanProperty(StyleEditorPanel.SET_RESOURCE);
    controls.add(mSetNodeFontName);
    mNodeFontName = new FontProperty(StyleEditorPanel.NODE_FONT_NAME);
    controls.add(mNodeFontName);
    final FontNameChangeListener listener = new FontNameChangeListener(mSetNodeFontName, mNodeFontName);
    mSetNodeFontName.addPropertyChangeListener(listener);
    mNodeFontName.addPropertyChangeListener(listener);
    mNodeFontName.fireOnMouseClick();
}
Also used : FontProperty(org.freeplane.core.resources.components.FontProperty) BooleanProperty(org.freeplane.core.resources.components.BooleanProperty)

Example 4 with BooleanProperty

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

the class StyleEditorPanel method addNodeNumberingControl.

private void addNodeNumberingControl(final List<IPropertyControl> controls) {
    mSetNodeNumbering = new BooleanProperty(StyleEditorPanel.SET_RESOURCE);
    controls.add(mSetNodeNumbering);
    mNodeNumbering = new BooleanProperty(StyleEditorPanel.NODE_NUMBERING);
    controls.add(mNodeNumbering);
    final NodeNumberingChangeListener listener = new NodeNumberingChangeListener(mSetNodeNumbering, mNodeNumbering);
    mSetNodeNumbering.addPropertyChangeListener(listener);
    mNodeNumbering.addPropertyChangeListener(listener);
    mNodeNumbering.fireOnMouseClick();
}
Also used : BooleanProperty(org.freeplane.core.resources.components.BooleanProperty)

Example 5 with BooleanProperty

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

the class StyleEditorPanel method addEdgeColorControl.

private void addEdgeColorControl(final List<IPropertyControl> controls) {
    mSetEdgeColor = new BooleanProperty(StyleEditorPanel.SET_RESOURCE);
    controls.add(mSetEdgeColor);
    mEdgeColor = new ColorProperty(StyleEditorPanel.EDGE_COLOR, ColorUtils.colorToString(EdgeController.STANDARD_EDGE_COLOR));
    controls.add(mEdgeColor);
    final EdgeColorChangeListener listener = new EdgeColorChangeListener(mSetEdgeColor, mEdgeColor);
    mSetEdgeColor.addPropertyChangeListener(listener);
    mEdgeColor.addPropertyChangeListener(listener);
    mEdgeColor.fireOnMouseClick();
}
Also used : BooleanProperty(org.freeplane.core.resources.components.BooleanProperty) ColorProperty(org.freeplane.core.resources.components.ColorProperty)

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