Package ca.nengo.ui.lib.world.piccolo.objects

Examples of ca.nengo.ui.lib.world.piccolo.objects.SelectionBorder


  public TooltipPickHandler(WorldImpl world, int pickDelay, int keepPickDelay) {
    super(world);
    myPickDelay = pickDelay;
    myKeepPickDelay = keepPickDelay;
    tooltipFrame = new SelectionBorder(world);
    tooltipFrame.setFrameColor(NengoStyle.COLOR_TOOLTIP_BORDER);

  }
View Full Code Here


  private WorldImpl world;

  public MouseHandler(WorldImpl world) {
    super();
    frame = new SelectionBorder(world);
    frame.setFrameColor(NengoStyle.COLOR_TOOLTIP_BORDER);
    this.world = world;
  }
View Full Code Here

  public boolean isSelected(WorldObjectImpl node) {
    return ( node != null && selectedObjects.contains(node) );
  }

  public void decorateSelectedNode(WorldObjectImpl node) {
    SelectionBorder frame = new SelectionBorder(world, node);

    node.setSelected(true);
    node.getPiccolo().addAttribute(SELECTION_HANDLER_FRAME_ATTR, frame);
  }
View Full Code Here

TOP

Related Classes of ca.nengo.ui.lib.world.piccolo.objects.SelectionBorder

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.