Class ViewProxyFactory

java.lang.Object
xal.extension.bricks.ViewProxyFactory

public class ViewProxyFactory extends Object
factory for making view proxies
  • Field Details

    • proxyTable

      protected static Map<String,ViewProxy<?>> proxyTable
      table of proxies keyed by type
  • Method Details

    • register

      protected static void register(ViewProxy<?> proxy)
      register the proxy in the proxy table
    • getViewProxy

      public static ViewProxy<?> getViewProxy(String type)
      get a border proxy with the specified type
    • getViewProxy

      public static <T extends Component> ViewProxy<T> getViewProxy(Class<T> viewClass, String name, boolean isContainer, boolean makeIcon)
      Create a view proxy for a component with an empty constructor
    • getViewProxy

      public static <T extends Component> ViewProxy<T> getViewProxy(Class<T> viewClass, String name, String text, boolean isContainer, boolean makeIcon)
      Create a view proxy for a component with a constructor that takes a string argument
    • getContainerProxy

      public static <T extends Component> ViewProxy<T> getContainerProxy(Class<T> viewClass, String name, String text)
      Create a view proxy for a component
    • getContainerProxy

      public static <T extends Component> ViewProxy<T> getContainerProxy(Class<T> viewClass, String name)
      Create a view proxy for a component
    • getComponentProxy

      public static <T extends Component> ViewProxy<T> getComponentProxy(Class<T> viewClass, String name, String text, boolean makeIcon)
      Create a view proxy for a component
    • getComponentProxy

      public static <T extends Component> ViewProxy<T> getComponentProxy(Class<T> viewClass, String name, String text)
      Create a view proxy for a component
    • getComponentProxy

      public static <T extends Component> ViewProxy<T> getComponentProxy(Class<T> viewClass, String name, boolean makeIcon)
      Create a view proxy for a component
    • getComponentProxy

      public static <T extends Component> ViewProxy<T> getComponentProxy(Class<T> viewClass, String name)
      Create a view proxy for a component
    • getTabbedPaneProxy

      public static ViewProxy<JTabbedPane> getTabbedPaneProxy()
      Generate a view proxy for a combo box view
    • getComboBoxProxy

      public static ViewProxy<JComboBox> getComboBoxProxy()
      Generate a view proxy for a combo box view
    • getListProxy

      public static ViewProxy<JList> getListProxy()
      Generate a view proxy for a list view
    • getTableProxy

      public static ViewProxy<JTable> getTableProxy()
      Generate a view proxy for creating a table
    • getTreeProxy

      public static ViewProxy<JTree> getTreeProxy()
      Generate a view proxy for creating a table
    • getScrollPaneProxy

      public static ViewProxy<JScrollPane> getScrollPaneProxy()
      Generate a view proxy for creating check boxes
    • getSplitPaneProxy

      public static ViewProxy<JSplitPane> getSplitPaneProxy()
      Generate a view proxy for creating a split pane
    • getHorizontalBoxProxy

      public static ViewProxy<Box> getHorizontalBoxProxy()
      Generate a view proxy for creating horizontal boxes
    • getVerticalBoxProxy

      public static ViewProxy<Box> getVerticalBoxProxy()
      Generate a view proxy for creating vertical boxes
    • getHorizontalGlueProxy

      public static ViewProxy<Component> getHorizontalGlueProxy()
      Generate a view proxy for creating horizontal glue
    • getVerticalGlueProxy

      public static ViewProxy<Component> getVerticalGlueProxy()
      Generate a view proxy for creating horizontal glue
    • getFunctionGraphsJPanelProxy

      public static ViewProxy<FunctionGraphsJPanel> getFunctionGraphsJPanelProxy()
      Generate a view proxy for creating a function graph panel
    • getFrameProxy

      public static ViewProxy<JFrame> getFrameProxy(String title)
      Generate a view proxy for creating horizontal glue
    • getDialogProxy

      public static ViewProxy<JDialog> getDialogProxy(String title)
      Generate a view proxy for creating horizontal glue