Class Polyhedra
java.lang.Object
org.jmol.shape.Shape
org.jmol.shape.AtomShape
org.jmol.shapespecial.Polyhedra
- All Implemented Interfaces:
Comparator<Object[]>
-
Field Summary
FieldsModifier and TypeFieldDescriptionintstatic final intstatic final intstatic final intintFields 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 TypeMethodDescriptionintintgetProperty(String property, int i) booleangetPropertyData(String property, Object[] data) voidsetModelVisibilityFlags(BS bsModels) voidsetProperty(String propertyName, Object value, BS bs) Methods inherited from class AtomShape
checkColixLength, getSize, initModelSet, initShape, setAtomClickability, setColixAndPalette, setPropAS, setSize, setSize2, setSizeRD, setSizeRD2Methods inherited from class Shape
appendCmd, checkBoundsMinMax, checkObjectClicked, checkObjectDragged, checkObjectHovered, coordinateInRange, encodeColor, findNearestAtomIndex, getColix, getColixA, getColixB, getColixI, getColorCommand, getColorCommandUnk, getFontCommand, getPropShape, getSizeG, getTranslucentLabel, initializeShape, replaceGroup, setModelSet, setProperties, setPropS, setShapeSizeRD, wasClickedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
EDGES_ALL
public static final int EDGES_ALL- See Also:
-
EDGES_FRONT
public static final int EDGES_FRONT- See Also:
-
EDGES_ONLY
public static final int EDGES_ONLY- See Also:
-
polyhedronCount
public int polyhedronCount -
polyhedrons
-
drawEdges
public int drawEdges
-
-
Constructor Details
-
Polyhedra
public Polyhedra()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<Object[]>
-
setProperty
- Specified by:
setPropertyin classShape
-
getIndexFromName
- Overrides:
getIndexFromNamein classShape- Parameters:
id-- Returns:
- index
-
getProperty
- Overrides:
getPropertyin classShape- Parameters:
property-i-- Returns:
- true if serviced
-
getPropertyData
- Overrides:
getPropertyDatain classShape- Parameters:
property-data-- Returns:
- true if serviced
-
getShapeDetail
- Overrides:
getShapeDetailin classShape
-
setModelVisibilityFlags
- Overrides:
setModelVisibilityFlagsin classShape- Parameters:
bsModels-
-
getShapeState
- Overrides:
getShapeStatein classAtomShape
-