Package org.freeplane.core.resources.components

Examples of org.freeplane.core.resources.components.NumberProperty


  }

  private void addEdgeWidthControl(final List<IPropertyControl> controls) {
    mSetEdgeWidth = new BooleanProperty(StyleEditorPanel.SET_RESOURCE);
    controls.add(mSetEdgeWidth);
    mEdgeWidth = new NumberProperty(StyleEditorPanel.EDGE_WIDTH, 0, 100, 1);
    controls.add(mEdgeWidth);
    final EdgeWidthChangeListener listener = new EdgeWidthChangeListener(mSetEdgeWidth, mEdgeWidth);
    mSetEdgeWidth.addPropertyChangeListener(listener);
    mEdgeWidth.addPropertyChangeListener(listener);
    mEdgeWidth.fireOnMouseClick();
View Full Code Here


  }

  private void addMaxNodeWidthControl(final List<IPropertyControl> controls) {
    mSetMaxNodeWidth = new BooleanProperty(StyleEditorPanel.SET_RESOURCE);
    controls.add(mSetMaxNodeWidth);
    mMaxNodeWidth = new NumberProperty(StyleEditorPanel.MAX_TEXT_WIDTH, 1, Integer.MAX_VALUE, 1);
    controls.add(mMaxNodeWidth);
    final MaxNodeWidthChangeListener listener = new MaxNodeWidthChangeListener(mSetMaxNodeWidth, mMaxNodeWidth);
    mSetMaxNodeWidth.addPropertyChangeListener(listener);
    mMaxNodeWidth.addPropertyChangeListener(listener);
    mMaxNodeWidth.fireOnMouseClick();
View Full Code Here

  }

  private void addMinNodeWidthControl(final List<IPropertyControl> controls) {
    mSetMinNodeWidth = new BooleanProperty(StyleEditorPanel.SET_RESOURCE);
    controls.add(mSetMinNodeWidth);
    mMinNodeWidth = new NumberProperty(StyleEditorPanel.MIN_NODE_WIDTH, 1, Integer.MAX_VALUE, 1);
    controls.add(mMinNodeWidth);
    final MinNodeWidthChangeListener listener = new MinNodeWidthChangeListener(mSetMinNodeWidth, mMinNodeWidth);
    mSetMinNodeWidth.addPropertyChangeListener(listener);
    mMinNodeWidth.addPropertyChangeListener(listener);
    mMinNodeWidth.fireOnMouseClick();
View Full Code Here

TOP

Related Classes of org.freeplane.core.resources.components.NumberProperty

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.