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 voidapplyBeanPropertiesTo(Object object, List<DataAdaptor> beanAdaptors) apply property settings to the bean objectprotected static voidapplyBeanPropertyTo(Object object, DataAdaptor beanAdaptor, Map<String, PropertyDescriptor> descriptorTable) Apply the property settings to the specified bean objectprotected BordergetBorder(DataAdaptor adaptor) process adaptors to get bordersstatic WindowReferencegetDefaultInstance(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 ComponentgetView(DataAdaptor adaptor, Object... viewParameters) process adaptors to get componentsget the views with the associated tagget the windowprotected DataAdaptorgetWindowAdaptor(URL url, String tag) load the resourcesprotected WindowloadWindow(URL url, String tag, Object[] windowParameters) load the window from the resourceprotected voidregisterView(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
-