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

Quick Search    Search Deep

com.arranger.jarl.trait
Class BaseTrait  view BaseTrait download BaseTrait.java

java.lang.Object
  extended bycom.arranger.jarl.base.BaseJarlObject
      extended bycom.arranger.jarl.trait.BaseTrait
All Implemented Interfaces:
java.lang.Cloneable, com.arranger.jarl.base.IJarlObject, ITrait, ITraitDef
Direct Known Subclasses:
BaseSegmentTrait, ContainerTrait

public abstract class BaseTrait
extends com.arranger.jarl.base.BaseJarlObject
implements ITrait, ITraitDef

BaseTrait created on Feb 21, 2003


Field Summary
protected  java.awt.geom.AffineTransform m_affineTransform
          These are all possible cached objects
protected  java.awt.Composite m_composite
           
protected  com.arranger.jarl.base.IContext m_context
           
protected  java.awt.Graphics2D m_graphics2D
           
protected  java.awt.Paint m_paint
           
 
Fields inherited from class com.arranger.jarl.base.BaseJarlObject
m_cachedTime, m_className, m_configElement, m_useAbsoluteTime, m_zOrder
 
Constructor Summary
BaseTrait()
           
 
Method Summary
protected  java.awt.Graphics2D initGraphicsTransform(java.awt.Graphics2D graphics2D)
           
 ITrait initInstance(com.arranger.jarl.base.IContext context, org.w3c.dom.Element element)
          Based off of the actual def, get a real instance
protected  void restoreComposite(java.awt.Graphics2D graphics2D)
           
protected  void restoreContext(com.arranger.jarl.base.IContext context)
           
protected  java.awt.Graphics2D restoreGraphics()
           
protected  void restorePaint(com.arranger.jarl.widget.IWidget widget)
           
protected  void restoreTransform(java.awt.Graphics2D graphics2D)
           
protected  void store(java.awt.geom.AffineTransform affineTransform)
           
protected  void store(java.awt.Composite composite)
           
protected  void store(java.awt.Graphics2D graphics2D)
           
protected  void store(com.arranger.jarl.base.IContext context)
           
protected  void store(java.awt.Paint paint)
           
 
Methods inherited from class com.arranger.jarl.base.BaseJarlObject
addJarlObjectInfo, clone, getConfigElement, getJarlObjectInfo, getName, getZOrder, init, initAttributes, 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.trait.ITrait
postPaint, prePaint
 
Methods inherited from interface com.arranger.jarl.base.IJarlObject
clone, getConfigElement, getJarlObjectInfo, getZOrder, init, postCheckTime, preCheckTime, setZOrder
 
Methods inherited from interface com.arranger.jarl.trait.ITraitDef
initDef
 

Field Detail

m_affineTransform

protected java.awt.geom.AffineTransform m_affineTransform
These are all possible cached objects


m_paint

protected java.awt.Paint m_paint

m_context

protected com.arranger.jarl.base.IContext m_context

m_graphics2D

protected java.awt.Graphics2D m_graphics2D

m_composite

protected java.awt.Composite m_composite
Constructor Detail

BaseTrait

public BaseTrait()
Method Detail

initInstance

public ITrait initInstance(com.arranger.jarl.base.IContext context,
                           org.w3c.dom.Element element)
Based off of the actual def, get a real instance

Specified by:
initInstance in interface ITraitDef

store

protected void store(java.awt.geom.AffineTransform affineTransform)

store

protected void store(java.awt.Paint paint)

store

protected void store(com.arranger.jarl.base.IContext context)

store

protected void store(java.awt.Graphics2D graphics2D)

store

protected void store(java.awt.Composite composite)

restoreTransform

protected void restoreTransform(java.awt.Graphics2D graphics2D)

restorePaint

protected void restorePaint(com.arranger.jarl.widget.IWidget widget)

restoreContext

protected void restoreContext(com.arranger.jarl.base.IContext context)

restoreComposite

protected void restoreComposite(java.awt.Graphics2D graphics2D)

restoreGraphics

protected java.awt.Graphics2D restoreGraphics()

initGraphicsTransform

protected java.awt.Graphics2D initGraphicsTransform(java.awt.Graphics2D graphics2D)