Package xal.extension.bricks
Class WindowReference
java.lang.Object
xal.extension.bricks.WindowReference
loads resources for a single window instance
-
Constructor Summary
ConstructorsConstructorDescriptionWindowReference
(URL url, String tag, Object... windowParameters) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected static void
applyBeanPropertiesTo
(Object object, List<DataAdaptor> beanAdaptors) apply property settings to the bean objectprotected static void
applyBeanPropertyTo
(Object object, DataAdaptor beanAdaptor, Map<String, PropertyDescriptor> descriptorTable) Apply the property settings to the specified bean objectprotected Border
getBorder
(DataAdaptor adaptor) process adaptors to get bordersstatic WindowReference
getDefaultInstance
(URL url, String tag) Get the default window reference using the default window constructorprotected static Map<String,
PropertyDescriptor> getProperyDescriptorTable
(Object object) Get the property descriptor table keyed by property nameget a view with the associated tagprotected Component
getView
(DataAdaptor adaptor, Object... viewParameters) process adaptors to get componentsget the views with the associated tagget the windowprotected DataAdaptor
getWindowAdaptor
(URL url, String tag) load the resourcesprotected Window
loadWindow
(URL url, String tag, Object[] windowParameters) load the window from the resourceprotected void
registerView
(Object view, String tag) register the view with the table
-
Constructor Details
-
WindowReference
Constructor
-
-
Method Details
-
getDefaultInstance
Get the default window reference using the default window constructor -
getWindow
get the window -
getViews
get the views with the associated tag -
getView
get a view with the associated tag -
registerView
register the view with the table -
loadWindow
load the window from the resource -
getWindowAdaptor
load the resources -
getView
process adaptors to get components -
getBorder
process adaptors to get borders -
applyBeanPropertiesTo
apply property settings to the bean object -
applyBeanPropertyTo
protected static void applyBeanPropertyTo(Object object, DataAdaptor beanAdaptor, Map<String, PropertyDescriptor> descriptorTable) Apply the property settings to the specified bean object -
getProperyDescriptorTable
Get the property descriptor table keyed by property name
-