public final class HepRepGraphicsMode extends Object implements org.freehep.jas.services.PreferencesTopic, GraphicsMode
Modifier and Type | Field and Description |
---|---|
boolean |
antiAlias |
Color |
backColor |
boolean |
drawFrames |
boolean |
fillBoxes |
double |
lineWidth |
double |
markSizeMultiplier |
boolean |
selectionChangeColorSelected |
Color |
selectionColorSelected |
Color |
selectionColorUnselected |
double |
selectionLineWidthMultiplier |
boolean |
selectionModify |
boolean |
useLayering |
boolean |
useLineStyle |
boolean |
useLineWidth |
Constructor and Description |
---|
HepRepGraphicsMode()
Creates HepRepGraphicsMode with default properties.
|
HepRepGraphicsMode(boolean fast)
Creates HepRepGraphicsMode optimized for fast drawing.
|
HepRepGraphicsMode(HepRepGraphicsMode mode,
HepRepPanel plot)
Creates a copy of the specified HepRepGraphicsMode, attached to the specified graphics panel.
|
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(ChangeListener listener) |
boolean |
apply(JComponent jc) |
JComponent |
component() |
Object |
getValue(String name) |
boolean |
isSame(HepRepGraphicsMode other)
Returns true if settings in the specified graphics mode object are identical to the settings in this object.
|
String[] |
path() |
void |
removeChangeListener(ChangeListener listener) |
void |
setValue(String name,
Object value) |
public boolean antiAlias
public boolean drawFrames
public boolean fillBoxes
public boolean useLineWidth
public double lineWidth
public boolean useLineStyle
public double markSizeMultiplier
public boolean useLayering
public Color backColor
public boolean selectionModify
public boolean selectionChangeColorSelected
public Color selectionColorSelected
public Color selectionColorUnselected
public double selectionLineWidthMultiplier
public HepRepGraphicsMode()
public HepRepGraphicsMode(boolean fast)
public HepRepGraphicsMode(HepRepGraphicsMode mode, HepRepPanel plot)
public void addChangeListener(ChangeListener listener)
public void removeChangeListener(ChangeListener listener)
public boolean apply(JComponent jc)
apply
in interface org.freehep.jas.services.PreferencesTopic
public JComponent component()
component
in interface org.freehep.jas.services.PreferencesTopic
public String[] path()
path
in interface org.freehep.jas.services.PreferencesTopic
public Object getValue(String name)
getValue
in interface GraphicsMode
public void setValue(String name, Object value)
setValue
in interface GraphicsMode
public boolean isSame(HepRepGraphicsMode other)
Copyright © 1996-2014 FreeHEP. All Rights Reserved.