Class WindowReference

java.lang.Object
xal.extension.bricks.WindowReference

public class WindowReference extends Object
loads resources for a single window instance
  • Constructor Details

    • WindowReference

      public WindowReference(URL url, String tag, Object... windowParameters)
      Constructor
  • Method Details

    • getDefaultInstance

      public static WindowReference getDefaultInstance(URL url, String tag)
      Get the default window reference using the default window constructor
    • getWindow

      public Window getWindow()
      get the window
    • getViews

      public List<Object> getViews(String tag)
      get the views with the associated tag
    • getView

      public Object getView(String tag)
      get a view with the associated tag
    • registerView

      protected void registerView(Object view, String tag)
      register the view with the table
    • loadWindow

      protected Window loadWindow(URL url, String tag, Object[] windowParameters)
      load the window from the resource
    • getWindowAdaptor

      protected DataAdaptor getWindowAdaptor(URL url, String tag)
      load the resources
    • getView

      protected Component getView(DataAdaptor adaptor, Object... viewParameters)
      process adaptors to get components
    • getBorder

      protected Border getBorder(DataAdaptor adaptor)
      process adaptors to get borders
    • applyBeanPropertiesTo

      protected static void applyBeanPropertiesTo(Object object, List<DataAdaptor> beanAdaptors)
      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

      protected static Map<String,PropertyDescriptor> getProperyDescriptorTable(Object object)
      Get the property descriptor table keyed by property name