cz.cuni.pogamut.shed.widget
Class ShedSenseWidget

Package class diagram package ShedSenseWidget
java.lang.Object
  extended by org.netbeans.api.visual.widget.Widget
      extended by cz.cuni.pogamut.shed.widget.ShedWidget
          extended by cz.cuni.pogamut.shed.widget.ShedSenseWidget
All Implemented Interfaces:
IPresentedWidget, Accessible, org.netbeans.api.visual.action.PopupMenuProvider

public class ShedSenseWidget
extends ShedWidget

Widget representing the Sense in the ShedScene.

Author:
HonzaH

Nested Class Summary
 
Nested classes/interfaces inherited from class cz.cuni.pogamut.shed.widget.ShedWidget
ShedWidget.Variable
 
Nested classes/interfaces inherited from class org.netbeans.api.visual.widget.Widget
org.netbeans.api.visual.widget.Widget.Dependency
 
Field Summary
 
Fields inherited from class cz.cuni.pogamut.shed.widget.ShedWidget
actionProvider, borderColor, color, height, width
 
Constructor Summary
ShedSenseWidget(ShedScene scene, Sense element, Color color)
           
 
Method Summary
static String createDisplayName(Sense sense)
          Create human readable string representing what is Sense doing.
 org.netbeans.api.visual.anchor.Anchor getCommonAnchor()
          Get anchor of the widget that is used as a common source anchor for the ArrowWidget, the target anchors will be provided by its children.
 
Methods inherited from class cz.cuni.pogamut.shed.widget.ShedWidget
addBreakpoint, calculateClientArea, getDisplayName, getPopupMenu, getPresenter, paintWidget, removeBreakpoint, setActiveIntensity, setDisplayName, setError, setPresent, setPresenter, setUnused, toString
 
Methods inherited from class org.netbeans.api.visual.widget.Widget
addChild, addChild, addChild, addChild, addChildren, addDependency, bringToBack, bringToFront, convertLocalToScene, convertLocalToScene, convertSceneToLocal, convertSceneToLocal, createActions, equals, getAccessibleContext, getActions, getActions, getBackground, getBorder, getBounds, getChildConstraint, getChildren, getClientArea, getCursor, getCursorAt, getDependencies, getFont, getForeground, getGraphics, getLayout, getLocation, getLookup, getMaximumSize, getMinimumSize, getParentWidget, getPreferredBounds, getPreferredLocation, getPreferredSize, getResourceTable, getScene, getState, getToolTipText, hashCode, isCheckClipping, isEnabled, isHitAt, isOpaque, isPreferredBoundsSet, isRepaintRequiredForRevalidating, isValidated, isVisible, notifyAdded, notifyBackgroundChanged, notifyFontChanged, notifyForegroundChanged, notifyRemoved, notifyStateChanged, paint, paintBackground, paintBorder, paintChildren, removeChild, removeChildren, removeChildren, removeDependency, removeFromParent, repaint, resolveBounds, revalidate, revalidate, setAccessibleContext, setBackground, setBackgroundFromResource, setBorder, setBorder, setCheckClipping, setChildConstraint, setCursor, setEnabled, setFont, setFontFromResource, setForeground, setForegroundFromResource, setLayout, setMaximumSize, setMinimumSize, setOpaque, setPreferredBounds, setPreferredLocation, setPreferredSize, setResourceTable, setState, setToolTipText, setVisible, updateResources
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShedSenseWidget

public ShedSenseWidget(ShedScene scene,
                       Sense element,
                       Color color)
Method Detail

createDisplayName

public static String createDisplayName(Sense sense)
Create human readable string representing what is Sense doing.

This is static to be able to call before parent's constructor.

Parameters:
sense - Sense for which to construct the representation.
Returns:
String representing what the sense is doing

getCommonAnchor

public org.netbeans.api.visual.anchor.Anchor getCommonAnchor()
Get anchor of the widget that is used as a common source anchor for the ArrowWidget, the target anchors will be provided by its children. Related widget must be the widget of the anchor.

Returns:
Common source anchor


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.