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

Quick Search    Search Deep

com.arranger.jarl.stroke.base
Class Precision  view Precision download Precision.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.Precision
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 Precision
extends com.arranger.jarl.stroke.BaseSegmentStroke

Precision will draw the shape with various preciseness. It can make rectangles our of circles for instance...


Nested Class Summary
protected static class Precision.PrecisionConfigSegment
           
 
Field Summary
protected  double m_end
           
protected  double m_start
           
 
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
Precision()
           
 
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_start

protected double m_start

m_end

protected double m_end
Constructor Detail

Precision

public Precision()
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