org.springframework.richclient.widget
Class ButtonSwitcherWidget

Show UML class diagram
java.lang.Object
  extended by org.springframework.richclient.application.support.ApplicationServicesAccessor
      extended by org.springframework.richclient.widget.AbstractWidget
          extended by org.springframework.richclient.widget.ButtonSwitcherWidget
All Implemented Interfaces:
Widget

public class ButtonSwitcherWidget
extends AbstractWidget


Field Summary
static String ALTERNATIVE
           
static String DEFAULT
           
 
Fields inherited from class org.springframework.richclient.widget.AbstractWidget
showing
 
Fields inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor
logger
 
Fields inherited from interface org.springframework.richclient.widget.Widget
EMPTY_WIDGET
 
Constructor Summary
ButtonSwitcherWidget(AbstractCommand command, String alternativeFaceId)
           
 
Method Summary
 JComponent getComponent()
           
 void show(String mode)
           
 void showAlternative()
           
 void showDefault()
           
 
Methods inherited from class org.springframework.richclient.widget.AbstractWidget
canClose, getCommands, isShowing, onAboutToHide, onAboutToShow
 
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
 

Field Detail

DEFAULT

public static final String DEFAULT
See Also:
Constant Field Values

ALTERNATIVE

public static final String ALTERNATIVE
See Also:
Constant Field Values
Constructor Detail

ButtonSwitcherWidget

public ButtonSwitcherWidget(AbstractCommand command,
                            String alternativeFaceId)
Method Detail

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.