Package org.jmol.shapespecial
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 TypeFieldDescriptionint
static final int
static final int
static final int
int
Fields inherited from class org.jmol.shape.AtomShape
bsSizeDefault, colixes, isActive, isSet, mad, mads, monomerCount, paletteIDs
Fields inherited from class org.jmol.shape.Shape
bsColixSet, bsSizeSet, isBioShape, ms, myType, RADIUS_MAX, shapeID, translucentAllowed, translucentLevel, vf, vwr
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
getProperty
(String property, int i) boolean
getPropertyData
(String property, Object[] data) void
setModelVisibilityFlags
(BS bsModels) void
setProperty
(String propertyName, Object value, BS bs) Methods inherited from class org.jmol.shape.AtomShape
checkColixLength, getSize, initModelSet, initShape, setAtomClickability, setColixAndPalette, setPropAS, setSize, setSize2, setSizeRD, setSizeRD2
Methods inherited from class org.jmol.shape.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, wasClicked
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.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:
compare
in interfaceComparator<Object[]>
-
setProperty
- Specified by:
setProperty
in classShape
-
getIndexFromName
- Overrides:
getIndexFromName
in classShape
- Parameters:
id
-- Returns:
- index
-
getProperty
- Overrides:
getProperty
in classShape
- Parameters:
property
-i
-- Returns:
- true if serviced
-
getPropertyData
- Overrides:
getPropertyData
in classShape
- Parameters:
property
-data
-- Returns:
- true if serviced
-
getShapeDetail
- Overrides:
getShapeDetail
in classShape
-
setModelVisibilityFlags
- Overrides:
setModelVisibilityFlags
in classShape
- Parameters:
bsModels
-
-
getShapeState
- Overrides:
getShapeState
in classAtomShape
-