|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensourcephysics.display3d.simple3d.VisualizationHints
public class VisualizationHints
| Nested Class Summary | |
|---|---|
protected static class |
VisualizationHints.VisualizationHintsLoader
|
| Nested classes/interfaces inherited from interface org.opensourcephysics.display3d.core.VisualizationHints |
|---|
VisualizationHints.Loader |
| Field Summary |
|---|
| Fields inherited from interface org.opensourcephysics.display3d.core.VisualizationHints |
|---|
CURSOR_CROSSHAIR, CURSOR_CUBE, CURSOR_NONE, CURSOR_XYZ, DECORATION_AXES, DECORATION_CUBE, DECORATION_NONE |
| Method Summary | |
|---|---|
void |
copyFrom(VisualizationHints hints)
Copies its data from another set of hints |
java.lang.String[] |
getAxesLabels()
|
int |
getCursorType()
|
int |
getDecorationType()
|
static XML.ObjectLoader |
getLoader()
|
int |
getShowCoordinates()
|
java.lang.String |
getXFormat()
|
java.lang.String |
getYFormat()
|
java.lang.String |
getZFormat()
|
boolean |
isAllowQuickRedraw()
|
boolean |
isRemoveHiddenLines()
|
boolean |
isUseColorDepth()
|
void |
setAllowQuickRedraw(boolean _value)
Whether the panel can draw quickly when it is dragged for a new view point |
void |
setAxesLabels(java.lang.String[] labels)
Sets the labels for the X, Y, and Z axes (when the axes are visible). |
void |
setCursorType(int _type)
The cursor type when interacting with the panel. |
void |
setDecorationType(int _value)
Types of decoration displayed. |
void |
setRemoveHiddenLines(boolean _value)
Whether the panel should try to remove hidden lines |
void |
setShowCoordinates(int location)
At which location should the panel display the coordinates when dragging a point The location must be one of the following: DrawingPanel3D.BOTTOM_LEFT DrawingPanel3D.BOTTOM_RIGHT DrawingPanel3D.TOP_RIGHT DrawingPanel3D.TOP_LEFT A negative value for the location means |
void |
setUseColorDepth(boolean _value)
Whether the panel should display far objects darker |
void |
setXFormat(java.lang.String format)
Sets the format to display the X coordinate when dragging a point |
void |
setYFormat(java.lang.String format)
Sets the format to display the Y coordinate when dragging a point |
void |
setZFormat(java.lang.String format)
Sets the format to display the Z coordinate when dragging a point |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setCursorType(int _type)
VisualizationHints
setCursorType in interface VisualizationHintspublic final int getCursorType()
getCursorType in interface VisualizationHintspublic void setDecorationType(int _value)
VisualizationHints
setDecorationType in interface VisualizationHints_value - the desired valuepublic final int getDecorationType()
getDecorationType in interface VisualizationHintspublic final void setAxesLabels(java.lang.String[] labels)
VisualizationHints
setAxesLabels in interface VisualizationHintslabels - a String[] array with at least three elementspublic final java.lang.String[] getAxesLabels()
getAxesLabels in interface VisualizationHintspublic void setRemoveHiddenLines(boolean _value)
VisualizationHints
setRemoveHiddenLines in interface VisualizationHints_value - the desired valuepublic final boolean isRemoveHiddenLines()
isRemoveHiddenLines in interface VisualizationHintspublic void setAllowQuickRedraw(boolean _value)
VisualizationHints
setAllowQuickRedraw in interface VisualizationHints_value - the desired valuepublic final boolean isAllowQuickRedraw()
isAllowQuickRedraw in interface VisualizationHintspublic void setUseColorDepth(boolean _value)
VisualizationHints
setUseColorDepth in interface VisualizationHints_value - the desired valuepublic final boolean isUseColorDepth()
isUseColorDepth in interface VisualizationHintspublic void setShowCoordinates(int location)
VisualizationHints
setShowCoordinates in interface VisualizationHintspublic int getShowCoordinates()
getShowCoordinates in interface VisualizationHintspublic void setXFormat(java.lang.String format)
VisualizationHints
setXFormat in interface VisualizationHintsformat - String parameter for a new java.text.DecimalFormatpublic java.lang.String getXFormat()
getXFormat in interface VisualizationHintspublic void setYFormat(java.lang.String format)
VisualizationHints
setYFormat in interface VisualizationHintsformat - String parameter for a new java.text.DecimalFormatpublic java.lang.String getYFormat()
getYFormat in interface VisualizationHintspublic void setZFormat(java.lang.String format)
VisualizationHints
setZFormat in interface VisualizationHintsformat - String parameter for a new java.text.DecimalFormatpublic java.lang.String getZFormat()
getZFormat in interface VisualizationHintspublic void copyFrom(VisualizationHints hints)
VisualizationHints
copyFrom in interface VisualizationHintspublic static XML.ObjectLoader getLoader()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||