Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.arranger.jarl.stroke.base
Class Trace  view Trace download Trace.java

java.lang.Object
  extended bycom.arranger.jarl.base.BaseJarlObject
      extended bycom.arranger.jarl.stroke.BaseStroke
          extended bycom.arranger.jarl.stroke.BaseSegmentStroke
              extended bycom.arranger.jarl.stroke.base.Trace
All Implemented Interfaces:
java.lang.Cloneable, com.arranger.jarl.base.IJarlObject, com.arranger.jarl.stroke.IStroke, com.arranger.jarl.stroke.IStrokeDef, com.arranger.jarl.util.IWidgetConfigSegmentFactory

public class Trace
extends com.arranger.jarl.stroke.BaseSegmentStroke

Trace traces just a portion of the overall shape


Nested Class Summary
protected static class Trace.TraceConfigSegment
           
static class Trace.TraceWidgetTransform
           
 
Field Summary
protected  boolean m_clockwise
           
protected  boolean m_endClockwise
           
protected  double m_endOffset
           
protected  double m_endTraceLength
           
protected  double m_offset
           
protected  boolean m_startClockwise
           
protected  double m_startOffset
           
protected  double m_startTraceLength
           
protected  double m_traceLength
           
 
Fields inherited from class com.arranger.jarl.stroke.BaseSegmentStroke
m_configSegments
 
Fields inherited from class com.arranger.jarl.base.BaseJarlObject
m_cachedTime, m_className, m_configElement, m_useAbsoluteTime, m_zOrder
 
Constructor Summary
Trace()
           
 
Method Summary
protected  void addJarlObjectInfo(com.arranger.jarl.base.IJarlObjectInfo jarlObjectInfo)
          Override this, and for every field that you're using, call BaseJarlObject.populateInfo(com.arranger.jarl.base.IJarlObjectInfo, java.lang.String, java.lang.String, com.arranger.jarl.base.IJarlObjectInfo.IJarlObjectDisplay)>BaseJarlObject.populateInfo(com.arranger.jarl.base.IJarlObjectInfo, java.lang.String, java.lang.String, com.arranger.jarl.base.IJarlObjectInfo.IJarlObjectDisplay) 55 for example: populateInfo(jarlObjectInfo, "zOrder", "Z-Order", JarlInfoUtil.PRIMITIVE_DISPLAY);
 com.arranger.jarl.util.WidgetConfigSegment createSegment(org.w3c.dom.Element element)
          Create a concrete com.arranger.jarl.util.WidgetConfigSegment based on this element
protected  void initAttributes(com.arranger.jarl.base.IContext context)
          Always remember some attrs might not be there
 java.awt.Shape processShape(com.arranger.jarl.widget.IWidget widget, com.arranger.jarl.base.IContext context, java.awt.Graphics2D graphics2D, java.awt.Shape shape)
          This will perform custom drawing of the shape onto the graphics on behalf of the widget NB: this will need to interpolate points in between points
 
Methods inherited from class com.arranger.jarl.stroke.BaseSegmentStroke
getConfigSegments, getCurrentSegment, getCurrentSegmentTimePct
 
Methods inherited from class com.arranger.jarl.stroke.BaseStroke
initInstance, postPaint, prePaint
 
Methods inherited from class com.arranger.jarl.base.BaseJarlObject
clone, getConfigElement, getJarlObjectInfo, getName, getZOrder, init, initDef, populateInfo, postCheckTime, preCheckTime, setZOrder
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.arranger.jarl.base.IJarlObject
clone, getConfigElement, getJarlObjectInfo, getZOrder, init, postCheckTime, preCheckTime, setZOrder
 
Methods inherited from interface com.arranger.jarl.stroke.IStrokeDef
initDef
 

Field Detail

m_traceLength

protected double m_traceLength

m_offset

protected double m_offset

m_clockwise

protected boolean m_clockwise

m_startTraceLength

protected double m_startTraceLength

m_startOffset

protected double m_startOffset

m_startClockwise

protected boolean m_startClockwise

m_endTraceLength

protected double m_endTraceLength

m_endOffset

protected double m_endOffset

m_endClockwise

protected boolean m_endClockwise
Constructor Detail

Trace

public Trace()
Method Detail

processShape

public java.awt.Shape processShape(com.arranger.jarl.widget.IWidget widget,
                                   com.arranger.jarl.base.IContext context,
                                   java.awt.Graphics2D graphics2D,
                                   java.awt.Shape shape)
This will perform custom drawing of the shape onto the graphics on behalf of the widget NB: this will need to interpolate points in between points


initAttributes

protected void initAttributes(com.arranger.jarl.base.IContext context)
Always remember some attrs might not be there


addJarlObjectInfo

protected void addJarlObjectInfo(com.arranger.jarl.base.IJarlObjectInfo jarlObjectInfo)
Override this, and for every field that you're using, call BaseJarlObject.populateInfo(com.arranger.jarl.base.IJarlObjectInfo, java.lang.String, java.lang.String, com.arranger.jarl.base.IJarlObjectInfo.IJarlObjectDisplay)>BaseJarlObject.populateInfo(com.arranger.jarl.base.IJarlObjectInfo, java.lang.String, java.lang.String, com.arranger.jarl.base.IJarlObjectInfo.IJarlObjectDisplay) 55 for example: populateInfo(jarlObjectInfo, "zOrder", "Z-Order", JarlInfoUtil.PRIMITIVE_DISPLAY);


createSegment

public com.arranger.jarl.util.WidgetConfigSegment createSegment(org.w3c.dom.Element element)
Create a concrete com.arranger.jarl.util.WidgetConfigSegment based on this element