public class ViewProxyFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.util.Map<java.lang.String,ViewProxy<?>> |
PROXY_TABLE
table of proxies keyed by type
|
Constructor and Description |
---|
ViewProxyFactory() |
Modifier and Type | Method and Description |
---|---|
static ViewProxy<javax.swing.JComboBox> |
getComboBoxProxy()
Generate a view proxy for a combo box view
|
static <T extends java.awt.Component> |
getComponentProxy(java.lang.Class<T> viewClass,
java.lang.String name)
Create a view proxy for a component
|
static <T extends java.awt.Component> |
getComponentProxy(java.lang.Class<T> viewClass,
java.lang.String name,
boolean makeIcon)
Create a view proxy for a component
|
static <T extends java.awt.Component> |
getComponentProxy(java.lang.Class<T> viewClass,
java.lang.String name,
java.lang.String text)
Create a view proxy for a component
|
static <T extends java.awt.Component> |
getComponentProxy(java.lang.Class<T> viewClass,
java.lang.String name,
java.lang.String text,
boolean makeIcon)
Create a view proxy for a component
|
static <T extends java.awt.Component> |
getContainerProxy(java.lang.Class<T> viewClass,
java.lang.String name)
Create a view proxy for a component
|
static <T extends java.awt.Component> |
getContainerProxy(java.lang.Class<T> viewClass,
java.lang.String name,
java.lang.String text)
Create a view proxy for a component
|
static ViewProxy<javax.swing.JDialog> |
getDialogProxy(java.lang.String title)
Generate a view proxy for creating horizontal glue
|
static ViewProxy<javax.swing.JFrame> |
getFrameProxy(java.lang.String title)
Generate a view proxy for creating horizontal glue
|
static ViewProxy<FunctionGraphsJPanel> |
getFunctionGraphsJPanelProxy()
Generate a view proxy for creating a function graph panel
|
static ViewProxy<javax.swing.Box> |
getHorizontalBoxProxy()
Generate a view proxy for creating horizontal boxes
|
static ViewProxy<java.awt.Component> |
getHorizontalGlueProxy()
Generate a view proxy for creating horizontal glue
|
static ViewProxy<javax.swing.JList> |
getListProxy()
Generate a view proxy for a list view
|
static ViewProxy<javax.swing.JScrollPane> |
getScrollPaneProxy()
Generate a view proxy for creating check boxes
|
static ViewProxy<javax.swing.JSplitPane> |
getSplitPaneProxy()
Generate a view proxy for creating a split pane
|
static ViewProxy<javax.swing.JTabbedPane> |
getTabbedPaneProxy()
Generate a view proxy for a combo box view
|
static ViewProxy<javax.swing.JTable> |
getTableProxy()
Generate a view proxy for creating a table
|
static ViewProxy<javax.swing.JTree> |
getTreeProxy()
Generate a view proxy for creating a table
|
static ViewProxy<javax.swing.Box> |
getVerticalBoxProxy()
Generate a view proxy for creating vertical boxes
|
static ViewProxy<java.awt.Component> |
getVerticalGlueProxy()
Generate a view proxy for creating horizontal glue
|
static <T extends java.awt.Component> |
getViewProxy(java.lang.Class<T> viewClass,
java.lang.String name,
boolean isContainer,
boolean makeIcon)
Create a view proxy for a component with an empty constructor
|
static <T extends java.awt.Component> |
getViewProxy(java.lang.Class<T> viewClass,
java.lang.String name,
java.lang.String text,
boolean isContainer,
boolean makeIcon)
Create a view proxy for a component with a constructor that takes a string argument
|
static ViewProxy<?> |
getViewProxy(java.lang.String type)
get a border proxy with the specified type
|
protected static void |
register(ViewProxy<?> proxy)
register the proxy in the proxy table
|
protected static java.util.Map<java.lang.String,ViewProxy<?>> PROXY_TABLE
protected static void register(ViewProxy<?> proxy)
public static ViewProxy<?> getViewProxy(java.lang.String type)
public static <T extends java.awt.Component> ViewProxy<T> getViewProxy(java.lang.Class<T> viewClass, java.lang.String name, boolean isContainer, boolean makeIcon)
public static <T extends java.awt.Component> ViewProxy<T> getViewProxy(java.lang.Class<T> viewClass, java.lang.String name, java.lang.String text, boolean isContainer, boolean makeIcon)
public static <T extends java.awt.Component> ViewProxy<T> getContainerProxy(java.lang.Class<T> viewClass, java.lang.String name, java.lang.String text)
public static <T extends java.awt.Component> ViewProxy<T> getContainerProxy(java.lang.Class<T> viewClass, java.lang.String name)
public static <T extends java.awt.Component> ViewProxy<T> getComponentProxy(java.lang.Class<T> viewClass, java.lang.String name, java.lang.String text, boolean makeIcon)
public static <T extends java.awt.Component> ViewProxy<T> getComponentProxy(java.lang.Class<T> viewClass, java.lang.String name, java.lang.String text)
public static <T extends java.awt.Component> ViewProxy<T> getComponentProxy(java.lang.Class<T> viewClass, java.lang.String name, boolean makeIcon)
public static <T extends java.awt.Component> ViewProxy<T> getComponentProxy(java.lang.Class<T> viewClass, java.lang.String name)
public static ViewProxy<javax.swing.JTabbedPane> getTabbedPaneProxy()
public static ViewProxy<javax.swing.JComboBox> getComboBoxProxy()
public static ViewProxy<javax.swing.JList> getListProxy()
public static ViewProxy<javax.swing.JTable> getTableProxy()
public static ViewProxy<javax.swing.JTree> getTreeProxy()
public static ViewProxy<javax.swing.JScrollPane> getScrollPaneProxy()
public static ViewProxy<javax.swing.JSplitPane> getSplitPaneProxy()
public static ViewProxy<javax.swing.Box> getHorizontalBoxProxy()
public static ViewProxy<javax.swing.Box> getVerticalBoxProxy()
public static ViewProxy<java.awt.Component> getHorizontalGlueProxy()
public static ViewProxy<java.awt.Component> getVerticalGlueProxy()
public static ViewProxy<FunctionGraphsJPanel> getFunctionGraphsJPanelProxy()
public static ViewProxy<javax.swing.JFrame> getFrameProxy(java.lang.String title)
public static ViewProxy<javax.swing.JDialog> getDialogProxy(java.lang.String title)