Package org.freeplane.core.resources.components

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


    mMaxNodeWidth.addPropertyChangeListener(listener);
    mMaxNodeWidth.fireOnMouseClick();
  }

  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);
View Full Code Here


    mMinNodeWidth.addPropertyChangeListener(listener);
    mMinNodeWidth.fireOnMouseClick();
  }

  private void addFontBoldControl(final List<IPropertyControl> controls) {
    mSetNodeFontBold = new BooleanProperty(StyleEditorPanel.SET_RESOURCE);
    controls.add(mSetNodeFontBold);
    mNodeFontBold = new BooleanProperty(StyleEditorPanel.NODE_FONT_BOLD);
    controls.add(mNodeFontBold);
    final FontBoldChangeListener listener = new FontBoldChangeListener(mSetNodeFontBold, mNodeFontBold);
    mSetNodeFontBold.addPropertyChangeListener(listener);
    mNodeFontBold.addPropertyChangeListener(listener);
    mNodeFontBold.fireOnMouseClick();
View Full Code Here

    mNodeFontBold.addPropertyChangeListener(listener);
    mNodeFontBold.fireOnMouseClick();
  }

  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();
View Full Code Here

    mNodeFontItalic.addPropertyChangeListener(listener);
    mNodeFontItalic.fireOnMouseClick();
  }

  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();
View Full Code Here

    mNodeFontHyperlink.addPropertyChangeListener(listener);
    mNodeFontHyperlink.fireOnMouseClick();
  }

  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);
View Full Code Here

    mNodeFontName.addPropertyChangeListener(listener);
    mNodeFontName.fireOnMouseClick();
  }

  private void addFontSizeControl(final List<IPropertyControl> controls) {
    mSetNodeFontSize = new BooleanProperty(StyleEditorPanel.SET_RESOURCE);
    controls.add(mSetNodeFontSize);
    final List<String> sizesVector = new ArrayList<String>(Arrays.asList(MUIFactory.FONT_SIZES));
    mNodeFontSize = new ComboProperty(StyleEditorPanel.NODE_FONT_SIZE, sizesVector, sizesVector);
    mNodeFontSize.setEditable(true);
    controls.add(mNodeFontSize);
View Full Code Here

    mNodeFontSize.addPropertyChangeListener(listener);
    mNodeFontSize.fireOnMouseClick();
  }

  private void addNodeShapeControl(final List<IPropertyControl> controls) {
    mSetNodeShape = new BooleanProperty(StyleEditorPanel.SET_RESOURCE);
    controls.add(mSetNodeShape);
    mNodeShape = new ComboProperty(StyleEditorPanel.NODE_SHAPE, new String[] { "fork", "bubble", "as_parent",
            "combined" });
    controls.add(mNodeShape);
    final NodeShapeChangeListener listener = new NodeShapeChangeListener(mSetNodeShape, mNodeShape);
View Full Code Here

    return button;
    }

  private void addStyleBox(final DefaultFormBuilder rightBuilder) {
      mStyleBox = uiFactory.createStyleBox();
      mSetStyle = new BooleanProperty(StyleEditorPanel.SET_RESOURCE);
    final StyleChangeListener listener = new StyleChangeListener();
    mSetStyle.addPropertyChangeListener(listener);
    mSetStyle.layout(rightBuilder);
      rightBuilder.append(new JLabel(TextUtils.getText("style")));
      rightBuilder.append(mStyleBox);
View Full Code Here

TOP

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

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.