org.jmol.shape
Modifier and Type | Field and Description |
---|---|
protected boolean |
adjustForWindow |
protected int |
align |
protected static int |
ALIGN_CENTER |
static int |
ALIGN_LEFT |
protected static int |
ALIGN_NONE |
protected static int |
ALIGN_RIGHT |
protected short |
bgcolix |
protected float |
boxHeight |
protected float |
boxWidth |
protected float |
boxX |
protected float[] |
boxXY |
protected float |
boxY |
protected short |
colix |
protected JmolRendererInterface |
g3d |
protected static String[] |
hAlignNames |
(package private) boolean |
hidden |
protected boolean |
isLabelOrHover |
(package private) int |
modelIndex |
protected int |
movableX |
protected int |
movableXPercent |
protected int |
movableY |
protected int |
movableYPercent |
protected int |
movableZ |
protected int |
movableZPercent |
protected int |
offsetX |
protected int |
offsetY |
protected int |
pointer |
static int |
POINTER_BACKGROUND |
static int |
POINTER_NONE |
static int |
POINTER_ON |
protected float |
scalePixelsPerMicron |
protected String |
script |
(package private) String |
target |
int |
valign |
protected static int |
VALIGN_BOTTOM |
protected static int |
VALIGN_MIDDLE |
protected static int |
VALIGN_TOP |
static int |
VALIGN_XY |
static int |
VALIGN_XYZ |
protected static String[] |
vAlignNames |
protected Viewer |
viewer |
(package private) boolean |
visible |
protected int |
windowHeight |
protected int |
windowWidth |
Point3f |
xyz |
protected int |
z |
protected int |
zSlab |
Modifier | Constructor and Description |
---|---|
protected |
Object2d() |
protected |
Object2d(Viewer viewer,
Graphics3D g3d,
String target,
short colix,
int valign,
int align,
float scalePixelsPerMicron) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkObjectClicked(int x,
int y,
BitSet bsVisible) |
protected void |
drawPointer(JmolRendererInterface g3d) |
(package private) static String |
getAlignment(int align) |
static int |
getOffset(int xOffset,
int yOffset) |
(package private) static String |
getPointer(int pointer) |
(package private) float |
getScalePixelsPerMicron() |
String |
getScript() |
(package private) static int |
getXOffset(int offset) |
(package private) static int |
getYOffset(int offset) |
protected abstract void |
recalc() |
void |
setAdjustForWindow(boolean TF) |
(package private) boolean |
setAlignment(int align) |
(package private) boolean |
setAlignment(String align) |
(package private) void |
setBgColix(Object value) |
(package private) void |
setBgColix(short colix) |
protected void |
setBoxOffsetsInWindow(float margin,
float vMargin,
float vTop) |
(package private) void |
setColix(Object value) |
(package private) void |
setColix(short colix) |
(package private) void |
setModel(int modelIndex) |
void |
setMovableX(int x) |
void |
setMovableXPercent(int x) |
void |
setMovableY(int y) |
void |
setMovableYPercent(int y) |
void |
setMovableZ(int z) |
void |
setMovableZPercent(int z) |
(package private) void |
setOffset(int offset) |
(package private) void |
setPointer(int pointer) |
static boolean |
setProperty(String propertyName,
Object value,
Object2d currentObject) |
void |
setScalePixelsPerMicron(float scalePixelsPerMicron) |
void |
setScript(String script) |
(package private) void |
setTranslucent(float level,
boolean isBackground) |
void |
setVisibility(boolean TF) |
protected void |
setWindow(JmolRendererInterface g3d,
float scalePixelsPerMicron) |
(package private) void |
setXY(int x,
int y) |
void |
setXYZ(Point3f xyz) |
void |
setXYZs(int x,
int y,
int z,
int zSlab) |
(package private) void |
setZs(int z,
int zSlab) |
public static final int POINTER_NONE
public static final int POINTER_ON
public static final int POINTER_BACKGROUND
protected static final String[] hAlignNames
protected static final int ALIGN_NONE
public static final int ALIGN_LEFT
protected static final int ALIGN_CENTER
protected static final int ALIGN_RIGHT
protected static final String[] vAlignNames
public static final int VALIGN_XY
protected static final int VALIGN_TOP
protected static final int VALIGN_BOTTOM
protected static final int VALIGN_MIDDLE
public static final int VALIGN_XYZ
protected boolean isLabelOrHover
protected Viewer viewer
protected JmolRendererInterface g3d
public Point3f xyz
String target
protected String script
protected short colix
protected short bgcolix
protected int pointer
protected int align
public int valign
protected int movableX
protected int movableY
protected int movableZ
protected int movableXPercent
protected int movableYPercent
protected int movableZPercent
protected int offsetX
protected int offsetY
protected int z
protected int zSlab
protected int windowWidth
protected int windowHeight
protected boolean adjustForWindow
protected float boxWidth
protected float boxHeight
protected float boxX
protected float boxY
int modelIndex
boolean visible
boolean hidden
protected float[] boxXY
protected float scalePixelsPerMicron
protected Object2d()
protected Object2d(Viewer viewer, Graphics3D g3d, String target, short colix, int valign, int align, float scalePixelsPerMicron)
float getScalePixelsPerMicron()
public void setScalePixelsPerMicron(float scalePixelsPerMicron)
protected abstract void recalc()
void setModel(int modelIndex)
public void setVisibility(boolean TF)
public void setXYZ(Point3f xyz)
public void setAdjustForWindow(boolean TF)
void setColix(short colix)
void setColix(Object value)
void setTranslucent(float level, boolean isBackground)
void setBgColix(short colix)
void setBgColix(Object value)
public void setMovableX(int x)
public void setMovableY(int y)
public void setMovableZ(int z)
public void setMovableXPercent(int x)
public void setMovableYPercent(int y)
public void setMovableZPercent(int z)
void setXY(int x, int y)
void setZs(int z, int zSlab)
public void setXYZs(int x, int y, int z, int zSlab)
public void setScript(String script)
public String getScript()
void setOffset(int offset)
static int getXOffset(int offset)
static int getYOffset(int offset)
boolean setAlignment(String align)
static String getAlignment(int align)
boolean setAlignment(int align)
void setPointer(int pointer)
static String getPointer(int pointer)
protected void drawPointer(JmolRendererInterface g3d)
protected void setBoxOffsetsInWindow(float margin, float vMargin, float vTop)
protected void setWindow(JmolRendererInterface g3d, float scalePixelsPerMicron)
public boolean checkObjectClicked(int x, int y, BitSet bsVisible)
public static boolean setProperty(String propertyName, Object value, Object2d currentObject)
public static int getOffset(int xOffset, int yOffset)