|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VisualizationHints
Title: VisualizationHints
Description: Hints to a DrawingPanel3D about how it should look. Hints can be ignored by the panel, depending on the implementation.
Nested Class Summary | |
---|---|
static class |
VisualizationHints.Loader
|
Field Summary | |
---|---|
static int |
CURSOR_CROSSHAIR
|
static int |
CURSOR_CUBE
|
static int |
CURSOR_NONE
|
static int |
CURSOR_XYZ
|
static int |
DECORATION_AXES
|
static int |
DECORATION_CUBE
|
static int |
DECORATION_NONE
|
Method Summary | |
---|---|
void |
copyFrom(VisualizationHints hints)
Copies its data from another set of hints |
java.lang.String[] |
getAxesLabels()
|
int |
getCursorType()
|
int |
getDecorationType()
|
int |
getShowCoordinates()
|
java.lang.String |
getXFormat()
|
java.lang.String |
getYFormat()
|
java.lang.String |
getZFormat()
|
boolean |
isAllowQuickRedraw()
|
boolean |
isRemoveHiddenLines()
|
boolean |
isUseColorDepth()
|
void |
setAllowQuickRedraw(boolean allow)
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 type)
Types of decoration displayed. |
void |
setRemoveHiddenLines(boolean remove)
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 useIt)
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 |
Field Detail |
---|
static final int DECORATION_NONE
static final int DECORATION_AXES
static final int DECORATION_CUBE
static final int CURSOR_NONE
static final int CURSOR_XYZ
static final int CURSOR_CUBE
static final int CURSOR_CROSSHAIR
Method Detail |
---|
void setDecorationType(int type)
type
- the desired valueint getDecorationType()
void setAxesLabels(java.lang.String[] labels)
labels
- a String[] array with at least three elementsjava.lang.String[] getAxesLabels()
void setCursorType(int type)
mode
- the desired valueint getCursorType()
void setRemoveHiddenLines(boolean remove)
remove
- the desired valueboolean isRemoveHiddenLines()
void setAllowQuickRedraw(boolean allow)
allow
- the desired valueboolean isAllowQuickRedraw()
void setUseColorDepth(boolean useIt)
useIt
- the desired valueboolean isUseColorDepth()
void setShowCoordinates(int location)
int getShowCoordinates()
void setXFormat(java.lang.String format)
format
- String parameter for a new java.text.DecimalFormatjava.lang.String getXFormat()
void setYFormat(java.lang.String format)
format
- String parameter for a new java.text.DecimalFormatjava.lang.String getYFormat()
void setZFormat(java.lang.String format)
format
- String parameter for a new java.text.DecimalFormatjava.lang.String getZFormat()
void copyFrom(VisualizationHints hints)
hints
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |