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