Package xal.extension.bricks
Class ViewProxyFactory
java.lang.Object
xal.extension.bricks.ViewProxyFactory
factory for making view proxies
-
Field Summary
FieldsModifier and TypeFieldDescriptiontable of proxies keyed by type -
Method Summary
Modifier and TypeMethodDescriptionGenerate a view proxy for a combo box viewgetComponentProxy
(Class<T> viewClass, String name) Create a view proxy for a componentgetComponentProxy
(Class<T> viewClass, String name, boolean makeIcon) Create a view proxy for a componentgetComponentProxy
(Class<T> viewClass, String name, String text) Create a view proxy for a componentgetComponentProxy
(Class<T> viewClass, String name, String text, boolean makeIcon) Create a view proxy for a componentgetContainerProxy
(Class<T> viewClass, String name) Create a view proxy for a componentgetContainerProxy
(Class<T> viewClass, String name, String text) Create a view proxy for a componentgetDialogProxy
(String title) Generate a view proxy for creating horizontal gluegetFrameProxy
(String title) Generate a view proxy for creating horizontal gluestatic ViewProxy<FunctionGraphsJPanel>
Generate a view proxy for creating a function graph panelGenerate a view proxy for creating horizontal boxesGenerate a view proxy for creating horizontal glueGenerate a view proxy for a list viewstatic ViewProxy<JScrollPane>
Generate a view proxy for creating check boxesstatic ViewProxy<JSplitPane>
Generate a view proxy for creating a split panestatic ViewProxy<JTabbedPane>
Generate a view proxy for a combo box viewGenerate a view proxy for creating a tableGenerate a view proxy for creating a tableGenerate a view proxy for creating vertical boxesGenerate a view proxy for creating horizontal gluegetViewProxy
(Class<T> viewClass, String name, boolean isContainer, boolean makeIcon) Create a view proxy for a component with an empty constructorgetViewProxy
(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 argumentstatic ViewProxy<?>
getViewProxy
(String type) get a border proxy with the specified typeprotected static void
register the proxy in the proxy table
-
Field Details
-
proxyTable
table of proxies keyed by type
-
-
Method Details
-
register
register the proxy in the proxy table -
getViewProxy
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
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
Create a view proxy for a component -
getTabbedPaneProxy
Generate a view proxy for a combo box view -
getComboBoxProxy
Generate a view proxy for a combo box view -
getListProxy
Generate a view proxy for a list view -
getTableProxy
Generate a view proxy for creating a table -
getTreeProxy
Generate a view proxy for creating a table -
getScrollPaneProxy
Generate a view proxy for creating check boxes -
getSplitPaneProxy
Generate a view proxy for creating a split pane -
getHorizontalBoxProxy
Generate a view proxy for creating horizontal boxes -
getVerticalBoxProxy
Generate a view proxy for creating vertical boxes -
getHorizontalGlueProxy
Generate a view proxy for creating horizontal glue -
getVerticalGlueProxy
Generate a view proxy for creating horizontal glue -
getFunctionGraphsJPanelProxy
Generate a view proxy for creating a function graph panel -
getFrameProxy
Generate a view proxy for creating horizontal glue -
getDialogProxy
Generate a view proxy for creating horizontal glue
-