Package | Description |
---|---|
msim.model |
Mixed physical/virtual linkage Simulator model representation and algorithms.
|
msim.ui |
Mixed physical/virtual linkage Simulator user interface.
|
Modifier and Type | Field and Description |
---|---|
static EntityClass[] |
EntityClass.ALL
set of all
EntityClass of the indicated type |
static EntityClass[] |
EntityClass.DEF_HIDDEN
override for default
visibility EntityClass.Visibility.VISIBLE |
static EntityClass[] |
EntityClass.DEF_INDIVIDUALLY_PICKABLE
override for default
individuallyPickable false |
EntityClass |
LinkageNode.entityClass
model entity class
|
EntityClass |
EntityClass.parent
the parent entity class, null if none
|
static EntityClass[] |
EntityClass.ROOTS
set of all
EntityClass of the indicated type |
static EntityClass[] |
EntityClass.TERMINALS
set of all
EntityClass of the indicated type |
Modifier and Type | Field and Description |
---|---|
java.util.List<EntityClass> |
EntityClass.children
the child entity classes
|
protected java.util.List<EntityClass> |
EntityClass.childrenImpl
mutable impl of
children |
Modifier and Type | Method and Description |
---|---|
static EntityClass |
EntityClass.getMostSpecificClass(javax.media.j3d.Geometry g)
get the most specific
EntityClass of g |
static EntityClass |
EntityClass.getMostSpecificClass(LinkageNode.SubFrame s)
get the most specific
EntityClass of s |
static EntityClass |
EntityClass.getMostSpecificClass(LinkageNode n)
get the most specific entity class for node n
|
static EntityClass |
EntityClass.getMostSpecificClass(LinkageNode n,
java.lang.String frame)
|
static EntityClass |
EntityClass.getMostSpecificClass(java.lang.Object o)
getMostSpecificClass(LinkageNode) , getMostSpecificClass(msim.model.LinkageNode.SubFrame) , getMostSpecificClass(Widget) , or getMostSpecificClass(Geometry) , depending on the type of o. |
static EntityClass |
EntityClass.getMostSpecificClass(vona.j3d.Widget w)
Covers
getMostSpecificClass(Widget, LinkageNode) , gets the
node from the LinkageNode.WP_NODE property. |
static EntityClass |
EntityClass.getMostSpecificClass(vona.j3d.Widget w,
LinkageNode n)
Get the most specific entity class for
Widget w
in node n. |
static EntityClass |
EntityClass.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EntityClass[] |
EntityClass.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
EntityClass.hasSubclass(EntityClass c)
check if c is this class or a subclass
|
Constructor and Description |
---|
EntityClass(EntityClass parent)
sets
parent |
Modifier and Type | Method and Description |
---|---|
void |
UI.cycleClassVisiblity(EntityClass c)
cycle visibility of all entities of
EntityClass c |
java.lang.Object |
UI.getTypedPickedEntity(EntityClass c)
|
java.lang.Object |
UI.getTypedPickedEntity(EntityClass c,
boolean nullOk)
Return the Geometry,
Widget , or LinkageNode that is or
contains the current pick iff its most specific entity class is
c. |
java.lang.Object[] |
UI.getTypedSelection(boolean includePick,
boolean nullOk,
EntityClass... types)
|
java.lang.Object[] |
UI.getTypedSelection(boolean includePick,
boolean nullOk,
java.lang.Object[] ret,
EntityClass... types)
Check if the sequence of entities in the current
UI.selection ,
plus optionally the current pick, matches the given sequence of
types, and if so, return an array of references to the
sequence. |
void |
UI.individuallyPickOnly(EntityClass c)
Disable individual pickability for all entity classes except
c.
|
void |
UI.toggleIndividuallyPickable(EntityClass c)
Toggle individual pickability for entity class c.
|