org.springframework.richclient.widget
Class ButtonSwitcherWidget
java.lang.Object
org.springframework.richclient.application.support.ApplicationServicesAccessor
org.springframework.richclient.widget.AbstractWidget
org.springframework.richclient.widget.ButtonSwitcherWidget
- All Implemented Interfaces:
- Widget
public class ButtonSwitcherWidget
- extends AbstractWidget
Methods inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor |
getActiveWindow, getApplication, getApplicationContext, getApplicationName, getApplicationServices, getCommandConfigurer, getComponentFactory, getConversionService, getIconSource, getImageSource, getMessage, getMessage, getMessage, getMessage, getMessages, getMessageSource, getObjectConfigurer, getService |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT
public static final String DEFAULT
- See Also:
- Constant Field Values
ALTERNATIVE
public static final String ALTERNATIVE
- See Also:
- Constant Field Values
ButtonSwitcherWidget
public ButtonSwitcherWidget(AbstractCommand command,
String alternativeFaceId)
getComponent
public JComponent getComponent()
- Returns:
- A not
null
graphical component built using the
parameters held in the widget instance.
showDefault
public void showDefault()
showAlternative
public void showAlternative()
show
public void show(String mode)
Copyright © 2004-2009 The Spring Framework. All Rights Reserved.