hep.wired.heprep.graphicspanel
Class AttributeCache

java.lang.Object
  extended byhep.wired.heprep.graphicspanel.AttributeCache
All Implemented Interfaces:
Attributes

public class AttributeCache
extends java.lang.Object
implements Attributes

Cache for subscribed attributes

Version:
$Id: AttributeCache.java 2181 2005-08-03 19:11:28Z duns $
Author:
Mark Donszelmann

Field Summary
 
Fields inherited from interface hep.wired.heprep.services.Attributes
ARROW_BOTH, ARROW_END, ARROW_NONE, ARROW_START
 
Constructor Summary
AttributeCache(org.freehep.graphics2d.VectorGraphics graphics, HepRepGraphicsMode mode, hep.graphics.heprep.HepRepIterator iterator)
          Creates a cache for subscribed attributes.
 
Method Summary
 java.awt.Color getColor()
          Current color
 java.lang.String getDrawAs()
          Current DrawAs value
 java.awt.Color getFillColor()
          Current fill color
 java.awt.Color getFrameColor()
          Current frame color
 double getFrameWidth()
          Current frame line width
 double getLineWidth()
          Current line width
 double getMarkSize()
          Current marker size
 int getMarkSymbol()
          Current marker symbol
 int hasLineArrow()
          Current line has arrow
 boolean isFilled()
          Should fill ?
 boolean isPickable()
           
 boolean isVisible()
           
 void overrideColor(java.awt.Color color)
           
 void overrideFillColor(java.awt.Color color)
           
 void overrideFrameColor(java.awt.Color color)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeCache

public AttributeCache(org.freehep.graphics2d.VectorGraphics graphics,
                      HepRepGraphicsMode mode,
                      hep.graphics.heprep.HepRepIterator iterator)
Creates a cache for subscribed attributes.

Method Detail

isVisible

public boolean isVisible()

isPickable

public boolean isPickable()

getDrawAs

public java.lang.String getDrawAs()
Description copied from interface: Attributes
Current DrawAs value

Specified by:
getDrawAs in interface Attributes

getColor

public java.awt.Color getColor()
Description copied from interface: Attributes
Current color

Specified by:
getColor in interface Attributes

getLineWidth

public double getLineWidth()
Description copied from interface: Attributes
Current line width

Specified by:
getLineWidth in interface Attributes

hasLineArrow

public int hasLineArrow()
Description copied from interface: Attributes
Current line has arrow

Specified by:
hasLineArrow in interface Attributes

getFrameColor

public java.awt.Color getFrameColor()
Description copied from interface: Attributes
Current frame color

Specified by:
getFrameColor in interface Attributes

getFrameWidth

public double getFrameWidth()
Description copied from interface: Attributes
Current frame line width

Specified by:
getFrameWidth in interface Attributes

getFillColor

public java.awt.Color getFillColor()
Description copied from interface: Attributes
Current fill color

Specified by:
getFillColor in interface Attributes

isFilled

public boolean isFilled()
Description copied from interface: Attributes
Should fill ?

Specified by:
isFilled in interface Attributes

getMarkSymbol

public int getMarkSymbol()
Description copied from interface: Attributes
Current marker symbol

Specified by:
getMarkSymbol in interface Attributes

getMarkSize

public double getMarkSize()
Description copied from interface: Attributes
Current marker size

Specified by:
getMarkSize in interface Attributes

overrideColor

public void overrideColor(java.awt.Color color)

overrideFrameColor

public void overrideFrameColor(java.awt.Color color)

overrideFillColor

public void overrideFillColor(java.awt.Color color)


Copyright © 1996-2005 WIRED - FreeHEP. All Rights Reserved.