public class BorderProxyFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.util.Map<java.lang.String,BorderProxy<javax.swing.border.Border>> |
PROXY_TABLE
table of proxies keyed by type
|
Constructor and Description |
---|
BorderProxyFactory() |
Modifier and Type | Method and Description |
---|---|
static <T extends javax.swing.border.Border> |
getBorderProxy(java.lang.Class<T> borderClass,
java.lang.String name)
Create a border proxy for a border with an empty constructor
|
static BorderProxy<javax.swing.border.Border> |
getBorderProxy(java.lang.String type)
get a border proxy with the specified type
|
static BorderProxy<javax.swing.border.BevelBorder> |
getLoweredBevelBorderProxy(java.lang.String name)
Create a title border proxy
|
static BorderProxy<javax.swing.border.BevelBorder> |
getRaisedBevelBorderProxy(java.lang.String name)
Create a title border proxy
|
static BorderProxy<javax.swing.border.TitledBorder> |
getTitledBorderProxy(java.lang.String name)
Create a title border proxy
|
protected static void |
register(BorderProxy<? extends javax.swing.border.Border> proxy)
register the proxy in the proxy table
|
protected static java.util.Map<java.lang.String,BorderProxy<javax.swing.border.Border>> PROXY_TABLE
protected static void register(BorderProxy<? extends javax.swing.border.Border> proxy)
public static BorderProxy<javax.swing.border.Border> getBorderProxy(java.lang.String type)
public static <T extends javax.swing.border.Border> BorderProxy<T> getBorderProxy(java.lang.Class<T> borderClass, java.lang.String name)
public static BorderProxy<javax.swing.border.TitledBorder> getTitledBorderProxy(java.lang.String name)
public static BorderProxy<javax.swing.border.BevelBorder> getLoweredBevelBorderProxy(java.lang.String name)
public static BorderProxy<javax.swing.border.BevelBorder> getRaisedBevelBorderProxy(java.lang.String name)