|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAppearance
com.sun.electric.plugins.j3d.utils.J3DAppearance
public class J3DAppearance
Support class for 3D viewing.
Field Summary | |
---|---|
static J3DAppearance[] |
axisApps
Appearance for axes |
static J3DAppearance |
cellApp
cell has a unique appearance |
static J3DAppearance |
highlightApp
highlight appearance |
Constructor Summary | |
---|---|
J3DAppearance(Layer layer,
boolean visible)
|
Method Summary | |
---|---|
Layer |
getLayer()
|
void |
set3DColor(java.lang.Object material,
java.awt.Color color)
Method to set color in 3D. |
void |
set3DVisibility(boolean visible)
Method to set visibility in Appearance objects from external tools |
static void |
setAxesVisibility(boolean value)
Set visibility of appearance assigned to the axes |
static void |
setAxisAppearanceValues(java.lang.Object initValue)
Method to access appearance of axes in 3D |
static void |
setCellAppearanceValues(java.lang.Object initValue)
Method to access appearance for cells in 3D |
static void |
setCellVisibility(boolean value)
Set visibility of appearance assigned to cell bounding box |
void |
setGraphics(EGraphics graphics)
|
static void |
setHighlightedAppearanceValues(java.lang.Object initValue)
Method to access appearance of highlighted nodes in 3D |
void |
setTransparencyAndRenderingAttributes(TransparencyAttributes transparencyAttributes,
boolean rendering)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static J3DAppearance cellApp
public static J3DAppearance highlightApp
public static J3DAppearance[] axisApps
Constructor Detail |
---|
public J3DAppearance(Layer layer, boolean visible)
Method Detail |
---|
public Layer getLayer()
public void setGraphics(EGraphics graphics)
public static void setCellVisibility(boolean value)
value
- public static void setAxesVisibility(boolean value)
value
- public void setTransparencyAndRenderingAttributes(TransparencyAttributes transparencyAttributes, boolean rendering)
public void set3DVisibility(boolean visible)
visible
- true if visibility is onpublic void set3DColor(java.lang.Object material, java.awt.Color color)
material
- material to change if availablecolor
- public static void setAxisAppearanceValues(java.lang.Object initValue)
initValue
- false if appearance has to be changed according to user valuepublic static void setHighlightedAppearanceValues(java.lang.Object initValue)
initValue
- false if appearance has to be changed according to user valuepublic static void setCellAppearanceValues(java.lang.Object initValue)
initValue
- no null if appearance has to be changed according to user value. Using
this mechanism to avoid the creation of new Boolean() just for the checking
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |