public class LatticeEditor
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
protected class |
LatticeEditor.NModifier |
Modifier and Type | Field | Description |
---|---|---|
javax.swing.JPanel |
anglePanel |
|
protected Box |
box |
|
javax.swing.JPanel |
boxPanel |
|
protected BravaisLattice |
currentLattice |
|
static int |
DEFAULT_SIZE |
|
protected java.util.HashMap<BravaisLattice,java.lang.String> |
latticeNameHash |
|
protected etomica.modules.crystalviewer.LatticeEditor.LatticeEditorBoxPropertyArray |
pvBox |
|
protected int |
size |
|
javax.swing.JPanel |
sizePanel |
|
protected ISpecies |
species |
|
protected CrystalViewer |
viewer |
Constructor | Description |
---|---|
LatticeEditor(CrystalViewer viewer,
BravaisLattice[] lattices,
java.lang.String[] latticeNames,
Space _space) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
changeBox() |
|
BravaisLattice |
getCurrentLattice() |
Returns the currently selected crystal.
|
javax.swing.JPanel |
getPanel() |
|
protected void |
update() |
public static int DEFAULT_SIZE
protected int size
protected BravaisLattice currentLattice
protected Box box
protected ISpecies species
public javax.swing.JPanel anglePanel
public javax.swing.JPanel sizePanel
public javax.swing.JPanel boxPanel
protected CrystalViewer viewer
protected final java.util.HashMap<BravaisLattice,java.lang.String> latticeNameHash
protected etomica.modules.crystalviewer.LatticeEditor.LatticeEditorBoxPropertyArray pvBox
public LatticeEditor(CrystalViewer viewer, BravaisLattice[] lattices, java.lang.String[] latticeNames, Space _space)
public BravaisLattice getCurrentLattice()
protected void update()
protected void changeBox()
public javax.swing.JPanel getPanel()