Class Labels
java.lang.Object
org.jmol.shape.Shape
org.jmol.shape.AtomShape
org.jmol.shape.Labels
-
Field Summary
FieldsModifier and TypeFieldDescriptionshort[]intshortshortintintbyteintintint[]String[]int[]String[]intFields inherited from class AtomShape
bsSizeDefault, colixes, isActive, isSet, mad, mads, monomerCount, paletteIDsFields inherited from class Shape
bsColixSet, bsSizeSet, isBioShape, ms, myType, RADIUS_MAX, shapeID, translucentAllowed, translucentLevel, vf, vwr -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckObjectClicked(int x, int y, int modifiers, BS bsVisible, boolean drawPicking) booleancheckObjectDragged(int prevX, int prevY, int x, int y, int dragAction, BS bsVisible) float[]getBox(int i) shortgetLabel(int i) getProperty(String property, int index) voidvoidputBox(int i, float[] boxXY) voidvoidvoidsetProperty(String propertyName, Object value, BS bs) Methods inherited from class AtomShape
checkColixLength, getShapeState, getSize, initModelSet, setColixAndPalette, setPropAS, setSize, setSize2, setSizeRD, setSizeRD2Methods inherited from class Shape
appendCmd, checkBoundsMinMax, checkObjectHovered, coordinateInRange, encodeColor, findNearestAtomIndex, getColix, getColixA, getColixB, getColixI, getColorCommand, getColorCommandUnk, getFontCommand, getIndexFromName, getPropertyData, getPropShape, getShapeDetail, getSizeG, getTranslucentLabel, initializeShape, replaceGroup, setModelSet, setModelVisibilityFlags, setProperties, setPropS, setShapeSizeRD, wasClicked
-
Field Details
-
strings
-
formats
-
bgcolixes
public short[] bgcolixes -
fids
public int[] fids -
offsets
public int[] offsets -
bsFontSet
-
bsBgColixSet
-
defaultOffset
public int defaultOffset -
defaultAlignment
public int defaultAlignment -
defaultZPos
public int defaultZPos -
defaultFontId
public int defaultFontId -
defaultColix
public short defaultColix -
defaultBgcolix
public short defaultBgcolix -
defaultPaletteID
public byte defaultPaletteID -
defaultPointer
public int defaultPointer -
zeroFontId
public int zeroFontId
-
-
Constructor Details
-
Labels
public Labels()
-
-
Method Details
-
initShape
-
setProperty
- Specified by:
setPropertyin classShape
-
getProperty
- Overrides:
getPropertyin classShape- Parameters:
property-index-- Returns:
- true if serviced
-
putLabel
-
getLabel
-
putBox
public void putBox(int i, float[] boxXY) -
getBox
public float[] getBox(int i) -
setAtomClickability
public void setAtomClickability()- Overrides:
setAtomClickabilityin classAtomShape
-
checkObjectClicked
-
checkObjectDragged
- Overrides:
checkObjectDraggedin classShape- Parameters:
prevX-prevY-x-y-dragAction-bsVisible-- Returns:
- T/F
-
getColix2
-