use of org.freeplane.core.resources.components.FontProperty 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.FontProperty in project freeplane by freeplane.
the class FontNameControlGroup method addControlGroup.
@Override
public void addControlGroup(DefaultFormBuilder formBuilder) {
mSetNodeFontName = new BooleanProperty(ControlGroup.SET_RESOURCE);
mNodeFontName = new FontProperty(NODE_FONT_NAME);
propertyChangeListener = new FontNameChangeListener(mSetNodeFontName, mNodeFontName);
mSetNodeFontName.addPropertyChangeListener(propertyChangeListener);
mNodeFontName.addPropertyChangeListener(propertyChangeListener);
mSetNodeFontName.layout(formBuilder);
mNodeFontName.layout(formBuilder);
}
Aggregations