public class ViewerGridPrefs extends Preferences
Modifier and Type | Field and Description |
---|---|
static java.awt.Color |
DEFAULT_LABEL_COLOR |
static double |
DEFAULT_LABEL_SIZE |
static int |
DEFAULT_LINE_WIDTH |
static int |
DEFAULT_MIN_CELL_PIXELS |
static GridPlane.AxisLabeling |
DEFAULT_X_AXIS_LABELING |
static GridPlane.AxisLabeling |
DEFAULT_Y_AXIS_LABELING |
static PropertyList |
myProps |
Constructor and Description |
---|
ViewerGridPrefs(ViewerManager viewerManager) |
Modifier and Type | Method and Description |
---|---|
void |
applyToCurrent() |
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
java.awt.Color |
getLabelColor() |
double |
getLabelSize() |
int |
getLineWidth() |
java.awt.Color |
getMajorColor() |
int |
getMinCellPixels() |
java.awt.Color |
getMinorColor() |
java.awt.Color |
getXAxisColor() |
GridPlane.AxisLabeling |
getXAxisLabeling() |
java.awt.Color |
getYAxisColor() |
GridPlane.AxisLabeling |
getYAxisLabeling() |
java.awt.Color |
getZAxisColor() |
void |
setFromCurrent() |
void |
setLabelColor(java.awt.Color color) |
void |
setLabelSize(double emSize) |
void |
setLineWidth(int width) |
void |
setMajorColor(java.awt.Color color) |
void |
setMinCellPixels(int n) |
void |
setMinorColor(java.awt.Color color) |
void |
setXAxisColor(java.awt.Color color) |
void |
setXAxisLabeling(GridPlane.AxisLabeling labeling) |
void |
setYAxisColor(java.awt.Color color) |
void |
setYAxisLabeling(GridPlane.AxisLabeling labeling) |
void |
setZAxisColor(java.awt.Color color) |
actionPerformed, getEditingPanel, getProperty, isWritable, numScanWarnings, scan, setDefaults, write, writeItems
public static int DEFAULT_MIN_CELL_PIXELS
public static int DEFAULT_LINE_WIDTH
public static GridPlane.AxisLabeling DEFAULT_X_AXIS_LABELING
public static GridPlane.AxisLabeling DEFAULT_Y_AXIS_LABELING
public static double DEFAULT_LABEL_SIZE
public static final java.awt.Color DEFAULT_LABEL_COLOR
public static PropertyList myProps
public ViewerGridPrefs(ViewerManager viewerManager)
public PropertyList getAllPropertyInfo()
HasProperties
getAllPropertyInfo
in interface HasProperties
getAllPropertyInfo
in class Preferences
public int getMinCellPixels()
public void setMinCellPixels(int n)
public java.awt.Color getMajorColor()
public void setMajorColor(java.awt.Color color)
public java.awt.Color getMinorColor()
public void setMinorColor(java.awt.Color color)
public java.awt.Color getXAxisColor()
public void setXAxisColor(java.awt.Color color)
public java.awt.Color getYAxisColor()
public void setYAxisColor(java.awt.Color color)
public java.awt.Color getZAxisColor()
public void setZAxisColor(java.awt.Color color)
public int getLineWidth()
public void setLineWidth(int width)
public GridPlane.AxisLabeling getXAxisLabeling()
public void setXAxisLabeling(GridPlane.AxisLabeling labeling)
public GridPlane.AxisLabeling getYAxisLabeling()
public void setYAxisLabeling(GridPlane.AxisLabeling labeling)
public double getLabelSize()
public void setLabelSize(double emSize)
public java.awt.Color getLabelColor()
public void setLabelColor(java.awt.Color color)
public void applyToCurrent()
applyToCurrent
in class Preferences
public void setFromCurrent()
setFromCurrent
in class Preferences