info.joseluismartin.gui
Interface GuiFactory

All Known Implementing Classes:
ApplicationContextGuiFactory

public interface GuiFactory

Factory interface for creating visual components.

Author:
Jose Luis Martin - (jlm@joseluismartin.info)

Method Summary
 JComponent getComponent(String name)
          Get a JComponent reference of named widget
 JDialog getDialog(String name)
          Gets a JDialog reference of named widget
 Object getObject(String name)
          Gets a Object reference of named widget
 Object getObject(String name, Object[] params)
           
 JPanel getPanel(String name)
          Get a JPanel reference of named widget.
 View<?> getView(String name)
           
 

Method Detail

getComponent

JComponent getComponent(String name)
Get a JComponent reference of named widget

Parameters:
name - the name of component
Returns:
the component or null if not exist or not a JComponent

getPanel

JPanel getPanel(String name)
Get a JPanel reference of named widget.

Parameters:
name - the name of component
Returns:
the component or null if not exist or not a JPanel

getDialog

JDialog getDialog(String name)
Gets a JDialog reference of named widget

Parameters:
name - the name of component
Returns:
the component or null if not exist or not is a JDialog

getObject

Object getObject(String name)
Gets a Object reference of named widget

Parameters:
name - the name of component
Returns:
the component or null if not exist.

getObject

Object getObject(String name,
                 Object[] params)

getView

View<?> getView(String name)


Copyright © 2013 JDAL. All Rights Reserved.