|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.favabeans.base.FavaBeans
Class FavaBeans
provides access to global state of
the current FavaBeans application.
Note that some or all aspects of this class may be moved
elsewhere as we devise better and more flexible ways (perhaps based
on BeanContext
) for components
locate this "contextual" state.
Field Summary | |
static Type |
ACTIONS_TYPE
The Type of a Actions object. |
static Type |
CHANGE_TYPE
The Type of a Change object. |
static Type |
DATA_TRANSFER_TYPE
The Type of a DataTransfer object. |
static Type |
DND_TARGET_CONTAINER_TYPE
The Type of a DnDTargetContainer object. |
static FacetRegistry |
FACETS
The default FacetRegistry to be used for finding
Facet s for objects. |
static Type |
FOLDER_TYPE
The Type of a Folder object. |
static Type |
OBJECT_TYPE
The Type of a Object . |
static Type |
PROPERTIES_TYPE
The Type of a Properties object. |
static Type |
PROTOTYPE_TYPE
The Type of a Prototype object. |
static TopLevelViewBuilder |
TOP_LEVEL_VIEW_BUILDER
The top-level view builder for the application (which is a hook into the "window manager"). |
static TypeMetadataRegistry |
TYPE_METADATA
The metadata used for backing various default Facet s implementations. |
static Type |
VIEW_PROTOTYPES_TYPE
The Type of a ViewPrototypes object. |
Method Summary | |
static Actions |
getActions(Object primaryObject)
Obtain the Actions Facet of an object. |
static Change |
getChange(Object primaryObject)
Obtain the Change Facet of an object. |
static DataTransfer |
getDataTransfer(Object primaryObject)
Obtain the DataTransfer Facet of an object. |
static DnDTargetContainer |
getDnDTargetContainer(Object primaryObject)
Obtain the DnDTargetContainer Facet of an object. |
static Folder |
getFolder(Object primaryObject)
Obtain the Folder Facet of an object. |
static Icon |
getIconResource(String name)
Load an Icon resource via the current class loader. |
static Properties |
getProperties(Object primaryObject)
Obtain the Properties Facet of an object. |
static Prototype |
getPrototype(Object primaryObject)
Obtain the Prototype Facet of an object. |
static URL |
getResource(String name)
Load a resource via the current class loader. |
static ViewPrototypes |
getViewPrototypes(Object primaryObject)
Obtain the ViewPrototypes Facet of an object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final Type OBJECT_TYPE
Type
of a Object
.public static final Type CHANGE_TYPE
Type
of a Change
object.public static final Type PROTOTYPE_TYPE
Type
of a Prototype
object.public static final Type DND_TARGET_CONTAINER_TYPE
Type
of a DnDTargetContainer
object.public static final Type DATA_TRANSFER_TYPE
Type
of a DataTransfer
object.public static final Type VIEW_PROTOTYPES_TYPE
Type
of a ViewPrototypes
object.public static final Type PROPERTIES_TYPE
Type
of a Properties
object.public static final Type ACTIONS_TYPE
Type
of a Actions
object.public static final Type FOLDER_TYPE
Type
of a Folder
object.public static final FacetRegistry FACETS
FacetRegistry
to be used for finding
Facet
s for objects.public static final TypeMetadataRegistry TYPE_METADATA
Facet
s implementations.public static TopLevelViewBuilder TOP_LEVEL_VIEW_BUILDER
Method Detail |
public static Change getChange(Object primaryObject)
Change
Facet
of an object.primaryObject
- the primary object for which to obtain
the Facet
.Facet
.public static Prototype getPrototype(Object primaryObject)
Prototype
Facet
of an object.primaryObject
- the primary object for which to obtain
the Facet
.Facet
.public static DnDTargetContainer getDnDTargetContainer(Object primaryObject)
DnDTargetContainer
Facet
of an object.primaryObject
- the primary object for which to obtain
the Facet
.Facet
.public static DataTransfer getDataTransfer(Object primaryObject)
DataTransfer
Facet
of an object.primaryObject
- the primary object for which to obtain
the Facet
.Facet
.public static ViewPrototypes getViewPrototypes(Object primaryObject)
ViewPrototypes
Facet
of an object.primaryObject
- the primary object for which to obtain
the Facet
.Facet
.public static Actions getActions(Object primaryObject)
Actions
Facet
of an object.primaryObject
- the primary object for which to obtain
the Facet
.Facet
.public static Properties getProperties(Object primaryObject)
Properties
Facet
of an object.primaryObject
- the primary object for which to obtain
the Facet
.Facet
.public static Folder getFolder(Object primaryObject)
Folder
Facet
of an object.primaryObject
- the primary object for which to obtain
the Facet
.Facet
.public static URL getResource(String name)
public static Icon getIconResource(String name)
Icon
resource via the current class loader.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |