|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 | |
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 |
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 |
public static final int DECORATION_NONE
public static final int DECORATION_AXES
public static final int DECORATION_CUBE
public static final int CURSOR_NONE
public static final int CURSOR_XYZ
public static final int CURSOR_CUBE
public static final int CURSOR_CROSSHAIR
Method Detail |
public void setDecorationType(int type)
type
- the desired valuepublic int getDecorationType()
public void setCursorType(int type)
public int getCursorType()
public void setRemoveHiddenLines(boolean remove)
remove
- the desired valuepublic boolean isRemoveHiddenLines()
public void setAllowQuickRedraw(boolean allow)
allow
- the desired valuepublic boolean isAllowQuickRedraw()
public void setUseColorDepth(boolean useIt)
useIt
- the desired valuepublic boolean isUseColorDepth()
public void setShowCoordinates(int location)
public int getShowCoordinates()
public void setXFormat(java.lang.String format)
format
- String parameter for a new java.text.DecimalFormatpublic java.lang.String getXFormat()
public void setYFormat(java.lang.String format)
format
- String parameter for a new java.text.DecimalFormatpublic java.lang.String getYFormat()
public void setZFormat(java.lang.String format)
format
- String parameter for a new java.text.DecimalFormatpublic java.lang.String getZFormat()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |