public class ViewDescriptor
extends java.lang.Object
ViewManager
sModifier and Type | Field and Description |
---|---|
static ViewDescriptor |
LASTACTIVE
Represents the active view manager
We keep the old name, MAIN3D, around for legacy reasons?
|
static ViewDescriptor |
NAME_LASTACTIVE_3D
Deprecated.
Use LASTACTIVE
|
static ViewDescriptor |
NAME_MAIN3D
Deprecated.
Use LASTACTIVE
|
static java.lang.String |
TYPE_MAIN2D
Type identifier for 2d view managers
|
static java.lang.String |
TYPE_MAIN3D
Type identifier for 3d view managers
|
Constructor and Description |
---|
ViewDescriptor()
Create this descriptor.
|
ViewDescriptor(java.lang.String name)
Create this descriptor with the given name.
|
ViewDescriptor(ViewDescriptor that)
Copy ctor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Does this view descriptor equal the given obj
|
java.util.List |
getClassNames()
Get the Classes property.
|
java.lang.String |
getName()
Get the name
|
int |
hashCode()
Override hashcode.
|
boolean |
nameEquals(ViewDescriptor that)
Does this view descriptor equal the given obj
|
void |
setClassNames(java.util.List value)
Set the Classes property.
|
void |
setName(java.lang.String n)
Set the name
|
java.lang.String |
toString()
The to string method
|
public static java.lang.String TYPE_MAIN3D
public static java.lang.String TYPE_MAIN2D
public static final ViewDescriptor LASTACTIVE
public static final ViewDescriptor NAME_MAIN3D
public static final ViewDescriptor NAME_LASTACTIVE_3D
public ViewDescriptor()
public ViewDescriptor(java.lang.String name)
name
- THe namepublic ViewDescriptor(ViewDescriptor that)
that
- Object to copy frompublic java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- The objectpublic boolean nameEquals(ViewDescriptor that)
that
- The objectpublic int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getName()
public void setName(java.lang.String n)
n
- The new namepublic void setClassNames(java.util.List value)
value
- The new value for Classespublic java.util.List getClassNames()