Package org.freeplane.features.nodestyle.mindmapmode

Examples of org.freeplane.features.nodestyle.mindmapmode.MNodeStyleController


    NoteController.install(new MNoteController(modeController));
    userInputListenerFactory.setMapMouseListener(new MMapMouseListener());
    final MTextController textController = new MTextController(modeController);
    TextController.install(textController);
    LinkController.install(new MLinkController());
    NodeStyleController.install(new MNodeStyleController(modeController));
    ClipboardController.install(new MClipboardController());
    userInputListenerFactory.setNodeDragListener(new MNodeDragListener());
    userInputListenerFactory.setNodeDropTargetListener(new MNodeDropListener());
    LocationController.install(new MLocationController());
    final MLogicalStyleController logicalStyleController = new MLogicalStyleController(modeController);
View Full Code Here


  public void setBinary(final byte[] data) {
    setObject(Base64Coding.encode64(data).replaceAll("(.{74})", "$1\n"));
  }

  public void setFormat(final String format) {
    final MNodeStyleController styleController = (MNodeStyleController) Controller.getCurrentModeController()
        .getExtension(NodeStyleController.class);
    styleController.setNodeFormat(getDelegate(), format);
  }
View Full Code Here

      super(mSet, mProperty);
    }

    @Override
    void applyValue(final boolean enabled, final NodeModel node, final PropertyChangeEvent evt) {
      final MNodeStyleController styleController = (MNodeStyleController) Controller
          .getCurrentModeController().getExtension(
              NodeStyleController.class);
      styleController.setBackgroundColor(node, enabled ? mNodeBackgroundColor.getColorValue() : null);
    }
View Full Code Here

      super(mSet, mProperty);
    }

    @Override
    void applyValue(final boolean enabled, final NodeModel node, final PropertyChangeEvent evt) {
      final MNodeStyleController styleController = (MNodeStyleController) Controller
      .getCurrentModeController().getExtension(
          NodeStyleController.class);
      styleController.setShape(node, enabled ? mNodeShape.getValue() : null);
    }
View Full Code Here

      super(mSet, mProperty);
    }

    @Override
    void applyValue(final boolean enabled, final NodeModel node, final PropertyChangeEvent evt) {
      final MNodeStyleController styleController = (MNodeStyleController) Controller
      .getCurrentModeController().getExtension(
          NodeStyleController.class);
      styleController.setColor(node, enabled ? mNodeColor.getColorValue() : null);
    }
View Full Code Here

      super(mSet, mProperty);
    }

    @Override
    void applyValue(final boolean enabled, final NodeModel node, final PropertyChangeEvent evt) {
      final MNodeStyleController styleController = (MNodeStyleController) Controller
      .getCurrentModeController().getExtension(
          NodeStyleController.class);
      styleController.setBold(node, enabled ? mNodeFontBold.getBooleanValue() : null);
    }
View Full Code Here

      super(mSet, mProperty);
    }

    @Override
    void applyValue(final boolean enabled, final NodeModel node, final PropertyChangeEvent evt) {
      final MNodeStyleController styleController = (MNodeStyleController) Controller
      .getCurrentModeController().getExtension(
          NodeStyleController.class);
      styleController.setItalic(node, enabled ? mNodeFontItalic.getBooleanValue() : null);
    }
View Full Code Here

      super(mSet, mProperty);
    }

    @Override
    void applyValue(final boolean enabled, final NodeModel node, final PropertyChangeEvent evt) {
      final MNodeStyleController styleController = (MNodeStyleController) Controller
      .getCurrentModeController().getExtension(
          NodeStyleController.class);
      try {
              styleController.setFontSize(node, enabled ? Integer.valueOf(mNodeFontSize.getValue()) : null);
            }
            catch (NumberFormatException e) {
            }
    }
View Full Code Here

      super(mSet, mProperty);
    }

    @Override
    void applyValue(final boolean enabled, final NodeModel node, final PropertyChangeEvent evt) {
      final MNodeStyleController styleController = (MNodeStyleController) Controller
      .getCurrentModeController().getExtension(
          NodeStyleController.class);
      styleController.setFontFamily(node, enabled ? mNodeFontName.getValue() : null);
    }
View Full Code Here

      super(mSet, mProperty);
    }

    @Override
    void applyValue(final boolean enabled, final NodeModel node, final PropertyChangeEvent evt) {
      final MNodeStyleController styleController = (MNodeStyleController) Controller
      .getCurrentModeController().getExtension(NodeStyleController.class);
      styleController.setMaxNodeWidth(node, enabled ? Integer.parseInt(mMaxNodeWidth.getValue()): NodeSizeModel.NOT_SET);
    }
View Full Code Here

TOP

Related Classes of org.freeplane.features.nodestyle.mindmapmode.MNodeStyleController

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.