org.simbrain.network.nodes.subnetworks
Class LMSNetworkNode

java.lang.Object
  extended by edu.umd.cs.piccolo.PNode
      extended by org.simbrain.network.nodes.ScreenElement
          extended by org.simbrain.network.nodes.SubnetworkNode
              extended by org.simbrain.network.nodes.subnetworks.LMSNetworkNode
All Implemented Interfaces:
Printable, PropertyChangeListener, Serializable, Cloneable, EventListener

public class LMSNetworkNode
extends SubnetworkNode

BackpropNetworkNode is the graphical representation of a Backprop network.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.simbrain.network.nodes.SubnetworkNode
OUTLINE_INSET_HEIGHT, OUTLINE_INSET_WIDTH, TAB_HEIGHT
 
Fields inherited from class edu.umd.cs.piccolo.PNode
PROPERTY_BOUNDS, PROPERTY_CHILDREN, PROPERTY_CHILDREN_PICKABLE, PROPERTY_CLIENT_PROPERTIES, PROPERTY_FULL_BOUNDS, PROPERTY_PAINT, PROPERTY_PARENT, PROPERTY_PICKABLE, PROPERTY_TRANSFORM, PROPERTY_TRANSPARENCY, PROPERTY_VISIBLE
 
Fields inherited from interface java.awt.print.Printable
NO_SUCH_PAGE, PAGE_EXISTS
 
Constructor Summary
LMSNetworkNode(NetworkPanel networkPanel, LMSNetwork subnetwork, double x, double y)
          Create a new LMSNetworkNode.
 
Method Summary
protected  JPopupMenu getContextMenu()
          Return a context menu specific to this screen element.
 LMSNetwork getLMSSubnetwork()
           
protected  JDialog getPropertyDialog()
          Return a property dialog for this screen element.
protected  String getToolTipText()
          Return a String to use as tool tip text for this screen element.
protected  boolean hasContextMenu()
          Return true if this screen element has a context menu.
protected  boolean hasPropertyDialog()
          Return true if this screen element has a property dialog.
protected  boolean hasToolTipText()
          Return true if this screen element has tool tip text.
 
Methods inherited from class org.simbrain.network.nodes.SubnetworkNode
addChild, getLabel, getOutlineStroke, getOutlineStrokePaint, getSetPropertiesAction, getSubnetwork, getTabPaint, getTabStroke, getTabStrokePaint, isDraggable, isSelectable, layoutChildren, propertyChange, removeChild, resetColors, setLabel, setOutlineStroke, setOutlineStrokePaint, setSetPropertiesAction, setShowOutline, setTabPaint, setTabStroke, setTabStrokePaint, showSelectionHandle
 
Methods inherited from class org.simbrain.network.nodes.ScreenElement
getNetworkPanel, initCastor, setNetworkPanel
 
Methods inherited from class edu.umd.cs.piccolo.PNode
addActivity, addChild, addChildren, addClientProperty, addInputEventListener, addPropertyChangeListener, addPropertyChangeListener, animateToBounds, animateToColor, animateToPositionScaleRotation, animateToTransform, animateToTransparency, centerBoundsOnPoint, centerFullBoundsOnPoint, clone, computeFullBounds, endResizeBounds, findIntersectingNodes, firePropertyChange, fullIntersects, fullPaint, fullPick, getAllNodes, getAllNodes, getBounds, getBoundsChanged, getBoundsReference, getBoundsVolatile, getChild, getChildBoundsInvalid, getChildBoundsVolatile, getChildPaintInvalid, getChildrenCount, getChildrenIterator, getChildrenPickable, getChildrenReference, getClientProperty, getClientPropertyKeysIterator, getFullBounds, getFullBoundsInvalid, getFullBoundsReference, getGlobalBounds, getGlobalFullBounds, getGlobalRotation, getGlobalScale, getGlobalToLocalTransform, getGlobalTranslation, getHeight, getInverseTransform, getListenerList, getLocalToGlobalTransform, getOccluded, getOffset, getPaint, getPaintInvalid, getParent, getPickable, getRoot, getRotation, getScale, getTransform, getTransformReference, getTransparency, getUnionOfChildrenBounds, getVisible, getWidth, getX, getXOffset, getY, getYOffset, globalToLocal, globalToLocal, globalToLocal, indexOfChild, internalUpdateBounds, intersects, invalidateFullBounds, invalidateLayout, invalidatePaint, isAncestorOf, isDescendentOf, isDescendentOfRoot, isOpaque, lerp, localToGlobal, localToGlobal, localToGlobal, localToParent, localToParent, localToParent, moveInBackOf, moveInFrontOf, moveToBack, moveToFront, offset, paint, paintAfterChildren, paramString, parentBoundsChanged, parentToLocal, parentToLocal, parentToLocal, pick, pickAfterChildren, position, print, print, removeAllChildren, removeChild, removeChildren, removeFromParent, removeInputEventListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaintFrom, reparent, replaceWith, resetBounds, rotate, rotateAboutPoint, rotateAboutPoint, rotateInPlace, scale, scaleAboutPoint, scaleAboutPoint, setBounds, setBounds, setBoundsChanged, setChildBoundsInvalid, setChildBoundsVolatile, setChildPaintInvalid, setChildrenPickable, setFullBoundsInvalid, setGlobalRotation, setGlobalScale, setGlobalTranslation, setHeight, setOccluded, setOffset, setOffset, setPaint, setPaintInvalid, setParent, setPickable, setRotation, setScale, setTransform, setTransparency, setVisible, setWidth, setX, setY, signalBoundsChanged, startResizeBounds, toImage, toImage, toString, transformBy, translate, validateFullBounds, validateFullPaint
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LMSNetworkNode

public LMSNetworkNode(NetworkPanel networkPanel,
                      LMSNetwork subnetwork,
                      double x,
                      double y)
Create a new LMSNetworkNode.

Parameters:
networkPanel - reference to network panel
subnetwork - reference to subnetwork
x - initial x position
y - initial y position
Method Detail

hasToolTipText

protected boolean hasToolTipText()
Description copied from class: ScreenElement
Return true if this screen element has tool tip text. If this screen element does not have tool tip text, a tool tip event handler will not be registered.

Specified by:
hasToolTipText in class ScreenElement
Returns:
true if this screen element has tool tip text
See Also:
ScreenElement

getToolTipText

protected String getToolTipText()
Description copied from class: ScreenElement
Return a String to use as tool tip text for this screen element. Return null if this screen element does not have tool tip text or to temporarily prevent the tool tip from displaying.

Specified by:
getToolTipText in class ScreenElement
Returns:
a String to use as tool tip text for this screen element
See Also:
ScreenElement

hasContextMenu

protected boolean hasContextMenu()
Description copied from class: ScreenElement
Return true if this screen element has a context menu. If this screen element does not have a context menu, a context menu event handler will not be registered.

Specified by:
hasContextMenu in class ScreenElement
Returns:
true if this screen element has a context menu.
See Also:
ScreenElement

getContextMenu

protected JPopupMenu getContextMenu()
Description copied from class: ScreenElement
Return a context menu specific to this screen element. Return null if this screen element does not have a context menu.

Overrides:
getContextMenu in class SubnetworkNode
Returns:
a context menu specific to this screen element
See Also:
ScreenElement

hasPropertyDialog

protected boolean hasPropertyDialog()
Description copied from class: ScreenElement
Return true if this screen element has a property dialog. If this screen element does not have a property dialog, a property dialog event handler will not be registered.

Specified by:
hasPropertyDialog in class ScreenElement
Returns:
true if this screen element has a property dialog
See Also:
ScreenElement

getPropertyDialog

protected JDialog getPropertyDialog()
Description copied from class: ScreenElement
Return a property dialog for this screen element. Return null if this screen element does not have a property dialog.

Specified by:
getPropertyDialog in class ScreenElement
Returns:
a property dialog for this screen element
See Also:
ScreenElement

getLMSSubnetwork

public LMSNetwork getLMSSubnetwork()
See Also:
ScreenElement