|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.joseluismartin.gui.ApplicationContextGuiFactory
public class ApplicationContextGuiFactory
GuiFactory that use ApplicationContext to create and configure widgets.
Field Summary | |
---|---|
protected org.springframework.context.ApplicationContext |
context
application context reference |
Constructor Summary | |
---|---|
ApplicationContextGuiFactory()
|
Method Summary | |
---|---|
static Border |
createTitledBorder(String name)
Deprecated. use FormUtils.createTitledBorder instead. |
org.springframework.context.ApplicationContext |
getApplicationContext()
|
JComponent |
getComponent(String name)
Get a JComponent reference of named widget |
JDialog |
getDialog(String name)
Gets a JDialog reference of named widget |
static JFrame |
getJFrame()
|
Object |
getObject(String name)
Gets a Object reference of named widget |
Object |
getObject(String name,
Object[] args)
|
JPanel |
getPanel(String name)
Get a JPanel reference of named widget. |
View<?> |
getView(String name)
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
|
static void |
setPlasticLookAndFeel()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.springframework.context.ApplicationContext context
Constructor Detail |
---|
public ApplicationContextGuiFactory()
Method Detail |
---|
public JComponent getComponent(String name)
getComponent
in interface GuiFactory
name
- the name of component
public JDialog getDialog(String name)
getDialog
in interface GuiFactory
name
- the name of component
public Object getObject(String name)
getObject
in interface GuiFactory
name
- the name of component
public JPanel getPanel(String name)
getPanel
in interface GuiFactory
name
- the name of component
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public org.springframework.context.ApplicationContext getApplicationContext()
public View<?> getView(String name)
getView
in interface GuiFactory
public Object getObject(String name, Object[] args)
getObject
in interface GuiFactory
public static JFrame getJFrame()
public static void setPlasticLookAndFeel()
@Deprecated public static Border createTitledBorder(String name)
name
- title string
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |