SimulationContainerpublic class HSNPT2DGraphic extends SimulationGraphic
| Modifier and Type | Field | Description |
|---|---|---|
protected ColorSchemeOverlap |
colorSchemeOverlap |
|
protected ColorSchemeScaledOverlap |
colorSchemeScaled |
|
DisplayBox |
displayBoxScaled |
|
double |
nominalScale |
|
protected ColorScheme |
redColorScheme |
|
HSNPT2DSim |
sim |
appName, controller, GRAPHIC_ONLY, simulation, space, TABBED_PANE, WINDOW_CLOSER| Constructor | Description |
|---|---|
HSNPT2DGraphic(HSNPT2DSim sim) |
| Modifier and Type | Method | Description |
|---|---|---|
double |
getDisplayDensity() |
|
double |
getPressure() |
|
static void |
main(java.lang.String[] args) |
Demonstrates how this class is implemented.
|
void |
setDisplayDensity(double newDisplayDensity) |
|
void |
setPressure(double newPressure) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, add, addAsTab, createDisplayBoxPaintAction, deviceList, displayList, getController, getDisplayBox, getPaintAction, getPanel, getSimulation, initGraphics, makeAndDisplayFrame, makeAndDisplayFrame, makeAndDisplayFrame, makeAndDisplayFrame, remove, remove, setPaintIntervalpublic double nominalScale
public DisplayBox displayBoxScaled
public HSNPT2DSim sim
protected final ColorScheme redColorScheme
protected final ColorSchemeOverlap colorSchemeOverlap
protected final ColorSchemeScaledOverlap colorSchemeScaled
public HSNPT2DGraphic(HSNPT2DSim sim)
public void setDisplayDensity(double newDisplayDensity)
public double getDisplayDensity()
public void setPressure(double newPressure)
public double getPressure()
public static void main(java.lang.String[] args)