© 2006-2007 ETH Zurich

org.ximtec.igesture.tool.util
Class ComponentFactory

java.lang.Object
  extended by org.ximtec.igesture.tool.util.ComponentFactory
All Implemented Interfaces:
Service

public class ComponentFactory
extends Object
implements Service

Comment

Version:
1.0 04.05.2008
Author:
Ueli Kurmann

Constructor Summary
ComponentFactory(GuiBundleService guiBundleService)
           
 
Method Summary
static JPanel createBorderLayoutPanel()
           
 JButton createButton(String key, Action action)
           
static JPanel createGridBagLayoutPanel()
           
 JLabel createLabel(String key)
           
 JPopupMenu createPopupMenu(Action action)
           
 JTextArea createTextArea(String key)
           
 JTextField createTextField(String key)
           
 org.sigtec.graphix.GuiBundle getGuiBundle()
           
 String getIdentifier()
          Returns the identifier of the service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentFactory

public ComponentFactory(GuiBundleService guiBundleService)
Method Detail

createLabel

public JLabel createLabel(String key)

createButton

public JButton createButton(String key,
                            Action action)

createTextField

public JTextField createTextField(String key)

createTextArea

public JTextArea createTextArea(String key)

getGuiBundle

public org.sigtec.graphix.GuiBundle getGuiBundle()

createPopupMenu

public JPopupMenu createPopupMenu(Action action)

createBorderLayoutPanel

public static JPanel createBorderLayoutPanel()

createGridBagLayoutPanel

public static JPanel createGridBagLayoutPanel()

getIdentifier

public String getIdentifier()
Description copied from interface: Service
Returns the identifier of the service.

Specified by:
getIdentifier in interface Service
Returns:
the service's identifier.

© 2006-2007 ETH Zurich

Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.