com.nwoods.jgo.instruments
Class IndicatorSliderElliptical

java.lang.Object
  extended bycom.nwoods.jgo.JGoObject
      extended bycom.nwoods.jgo.JGoDrawable
          extended bycom.nwoods.jgo.instruments.AbstractIndicator
              extended bycom.nwoods.jgo.instruments.IndicatorSlider
                  extended bycom.nwoods.jgo.instruments.IndicatorSliderElliptical
All Implemented Interfaces:
JGoActionObject, JGoXMLSaveRestore, java.io.Serializable

public class IndicatorSliderElliptical
extends IndicatorSlider

An example of an AbstractIndicator that is designed to interact specifically with one type of GraduatedScale, namely GraduatedScaleElliptical.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.nwoods.jgo.instruments.IndicatorSlider
ChangedDimensions, ChangedStyle, StyleBar, StyleTriangles
 
Fields inherited from class com.nwoods.jgo.instruments.AbstractIndicator
ChangedActionEnabled, ChangedQuantBase, ChangedQuantized, ChangedQuantUnit, ChangedScale, ChangedValue
 
Fields inherited from class com.nwoods.jgo.JGoObject
Bottom, BottomCenter, BottomLeft, BottomMiddle, BottomRight, Center, CenterLeft, CenterRight, Changed4ResizeHandles, ChangedAutoRescale, ChangedBrush, ChangedDraggable, ChangedDragsNode, ChangedGeometry, ChangedGrabChildSelection, ChangedInitializing, ChangedPen, ChangedResizable, ChangedSelectable, ChangedUpdatePartner, ChangedVisible, ChangedZOrder, LastChangedHint, Left, LeftCenter, NoHandle, NoSpot, NumReservedHandles, RepaintAll, Right, RightCenter, SideLeft, SideRight, Top, TopCenter, TopLeft, TopMiddle, TopRight
 
Constructor Summary
IndicatorSliderElliptical()
          This constructor creates an IndicatorSliderElliptical with all default properties.
 
Method Summary
protected  void computePath(java.awt.geom.GeneralPath path)
          Returns a GeneralPath used to paint this AbstractIndicator.
 
Methods inherited from class com.nwoods.jgo.instruments.IndicatorSlider
changeValue, copyNewValueForRedo, copyObject, getDimensions, getStyle, isPointInObj, setDimensions, setStyle, SVGReadObject, SVGWriteObject
 
Methods inherited from class com.nwoods.jgo.instruments.AbstractIndicator
doUncapturedMouseMove, expandRectByPenWidth, generateSVGOutput, geometryChange, getPartner, getPath, getQuantizeBase, getQuantizeUnit, getScale, getValue, getValueForPoint, isActionActivated, isActionEnabled, isQuantized, makePath, onAction, onActionAdjusted, onActionCancelled, paint, quantizeValue, resetPath, setActionActivated, setActionEnabled, setPartner, setQuantizeBase, setQuantized, setQuantizeUnit, setScale, setValue, SVGUpdateReference, validValue
 
Methods inherited from class com.nwoods.jgo.JGoDrawable
draw3DRect, draw3DRect, drawEllipse, drawEllipse, drawEllipse, drawLine, drawLine, drawPath, drawPolygon, drawPolygon, drawRect, drawRect, drawRect, drawRoundRect, drawRoundRect, getBrush, getNearestIntersectionPoint, getPen, setBrush, setPen, SVGAddPathArgs, SVGReadAttributes, SVGWriteAttributes
 
Methods inherited from class com.nwoods.jgo.JGoObject
canView, computeBoundingRect, computeMove, computeResize, copy, copyObjectDelayed, copyOldValueForUndo, copyRect, doMouseClick, doMouseDblClick, findCommonParent, foredate, gainedSelection, geometryChangeChild, getBoundingRect, getDocument, getDraggingObject, getFlags, getHeight, getLayer, getLeft, getLocation, getLocation, getParent, getParentJGoNode, getParentNode, getRectangleSpotLocation, getSize, getSize, getSpotLocation, getSpotLocation, getToolTipText, getTop, getTopLeft, getTopLeft, getTopLevelObject, getView, getWidth, growRect, handleMove, handleResize, hideSelectionHandles, is4ResizeHandles, isAutoRescale, isBoundingRectInvalid, isChildOf, isDraggable, isDragsNode, isInitializing, isResizable, isSelectable, isSkipsUndoManager, isSuspendChildUpdates, isSuspendUpdates, isTopLevel, isUpdatePartner, isVisible, lostSelection, ownerChange, partnerUpdate, pick, redirectSelection, remove, set4ResizeHandles, setAutoRescale, setBoundingRect, setBoundingRect, setBoundingRect, setBoundingRectForce, setBoundingRectForce, setBoundingRectInvalid, setBoundsRect, setDraggable, setDragsNode, setFlags, setHeight, setInitializing, setLeft, setLocation, setLocation, setLocationOffset, setLocationOffset, setParent, setRectangleSpotLocation, setResizable, setSelectable, setSize, setSize, setSizeKeepingLocation, setSkipsUndoManager, setSpotLocation, setSpotLocation, setSpotLocation, setSpotLocationOffset, setSuspendChildUpdates, setSuspendUpdates, setTop, setTopLeft, setTopLeft, setUpdatePartner, setVisible, setWidth, showSelectionHandles, spotOpposite, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndicatorSliderElliptical

public IndicatorSliderElliptical()
This constructor creates an IndicatorSliderElliptical with all default properties.

Method Detail

computePath

protected void computePath(java.awt.geom.GeneralPath path)
Returns a GeneralPath used to paint this AbstractIndicator.

The default method for painting Indicators relies on this method for a definition of the shape. Furthermore, this method depends on the AbstractIndicator.Scale being a AbstractGraduatedScale.

Overrides:
computePath in class IndicatorSlider
Parameters:
path - a GeneralPath that is modified