com.bea.netuix.servlets.controls.window
Class ButtonFactory
java.lang.Object
|
+--com.bea.netuix.servlets.controls.window.ButtonFactory
- public class ButtonFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debug
protected static Debug debug
ButtonFactory
public ButtonFactory()
createStateToggleButton
public static StateToggleButton createStateToggleButton(Enumeration locales,
String name)
throws IllegalWindowStateException
Creates a toggle button for the given window state. This
method requires netuix-config.xml file under the WEB-INF
directory.
- Parameters:
name
- name of the state
- Throws:
IllegalWindowStateException
- thrown if the given
state is illegal
createStateButton
public static StateButton createStateButton(Enumeration locales,
String name)
throws IllegalWindowStateException
IllegalWindowStateException
createModeToggleButton
public static ModeToggleButton createModeToggleButton(Enumeration locales,
String name)
throws IllegalWindowModeException
Creates a toggle button for the given window mode. This
method requires netuix-config.xml file under the WEB-INF
directory.
- Parameters:
name
- name of the state
- Throws:
IllegalWindowModeException
- thrown if the given
mode is illegal
Copyright © 2003 BEA Systems, Inc. All Rights Reserved