public class PwHistogram extends PjWorkshop
PuHistogram,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static int |
ITEM_EDGE_LENGTH |
static int |
ITEM_ELEMENT_AREA |
static int |
ITEM_NORM_VECTOR_FIELD |
static int |
ITEM_SCALAR_FIELD |
static int |
ITEM_VERTEX_ANGLE |
HAS_BOUNDARY_PANEL, HAS_CONFIG_PANEL, HAS_INFO_PANEL, HAS_LABEL_PANEL, HAS_MATERIAL_PANEL, HAS_TEXTURE_PANEL, HAS_VECTOR_PANEL, INSPECTOR_INFO, INSPECTOR_INFO_EXT, IS_DELETED, IS_FIXED, IS_FOCUSSED, IS_PICKED, IS_SELECTED, IS_USED, NUM_TAGSMODE_BUG, MODE_STANDARD, MODE_VALIDATE| Constructor and Description |
|---|
PwHistogram()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close workshop and remove workshop from geometry as update listener.
|
int |
getItemType()
Get the item type which determines the displayed data.
|
void |
init()
Initialization
|
void |
reset()
Reset workshop and geometry to original state.
|
void |
setGeometry(PgElementSet geom)
Assign geometry to be analyzed.
|
void |
setItemType(int itemType)
Set the item type which determines the displayed data.
|
boolean |
update(java.lang.Object event)
Updates the geometry if this workshop has changed,
i.e. if the event is
this or null. |
cancel, getDisplay, getDisplays, getGeometry, getMode, getSavedGeometry, getViewer, isModal, isStandalone, ok, openDialog, removeGeometry, setDisplay, setDisplays, setGeometry, setModal, setMode, setStandalone, setVieweraddInspector, addUpdateListener, assureInspector, clearTag, clone, clone, clone, copy, getFather, getInfoPanel, getInspector, getName, getNumObjects, getSymbol, hasInspector, hasTag, hasUpdateListener, instanceOf, instanceOf, newInspector, newInspector, removeInspector, removeInspector, removeUpdateListener, setName, setParent, setSymbol, setTag, toString, updatePanelsequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFather, getName, setParentpublic static final int ITEM_EDGE_LENGTH
public static final int ITEM_ELEMENT_AREA
public static final int ITEM_VERTEX_ANGLE
public static final int ITEM_SCALAR_FIELD
public static final int ITEM_NORM_VECTOR_FIELD
public void init()
init in class PjWorkshoppublic void reset()
reset in class PjWorkshoppublic void close()
close in class PjWorkshoppublic void setGeometry(PgElementSet geom)
geom - geometry for analysispublic boolean update(java.lang.Object event)
PjWorkshopthis or null.
Also propagates update() to superclass with the original argument event.
Some subclasses may register themselves as update listener of the geometry of this workshop. In order to prevent an update loop, this method safely uses isUpdateSender() when updating the geometry.
update in interface PsUpdateIfupdate in class PjWorkshopevent - sender of this update.PsObject.setParent(PsUpdateIf),
PsObject.getFather(),
PsObject.addUpdateListener(PsUpdateIf)public int getItemType()
PwHistogram#ITEM_EDGE_LENGTH etc.public void setItemType(int itemType)
PwHistogram#ITEM_EDGE_LENGTH etc.itemType - the new item type"