EchoPoint
2.1.0rc4

echopointng.model
Class DefaultButtonModelEx

java.lang.Object
  extended bynextapp.echo2.app.button.DefaultButtonModel
      extended byechopointng.model.DefaultButtonModelEx
All Implemented Interfaces:
nextapp.echo2.app.button.ButtonModel, ButtonModelEx, java.io.Serializable

public class DefaultButtonModelEx
extends nextapp.echo2.app.button.DefaultButtonModel
implements ButtonModelEx

This button model uses ActionEventEx objects when it raise events.

See Also:
Serialized Form

Constructor Summary
DefaultButtonModelEx()
           
 
Method Summary
 void doAction()
           
 void doAction(int metaKeyInfo)
          This raise an ActionEventEx that containes meta key information that was in play when the event raised.
 
Methods inherited from class nextapp.echo2.app.button.DefaultButtonModel
addActionListener, fireActionPerformed, getActionCommand, getEventListenerList, removeActionListener, setActionCommand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface nextapp.echo2.app.button.ButtonModel
addActionListener, getActionCommand, removeActionListener, setActionCommand
 

Constructor Detail

DefaultButtonModelEx

public DefaultButtonModelEx()
Method Detail

doAction

public void doAction()
Specified by:
doAction in interface nextapp.echo2.app.button.ButtonModel
See Also:
DefaultButtonModel.doAction()

doAction

public void doAction(int metaKeyInfo)
Description copied from interface: ButtonModelEx
This raise an ActionEventEx that containes meta key information that was in play when the event raised.

Specified by:
doAction in interface ButtonModelEx
Parameters:
metaKeyInfo - - The metaKey information in play when the event was raised. This can be one of the following
  • ActionEventEx.METAKEY_NONE - no meta keys were pressed during the action event
  • ActionEventEx.METAKEY_ALT - the 'alt' key was pressed during the action event
  • ActionEventEx.METAKEY_SHIFT - the 'shift' key was pressed during the action event
  • ActionEventEx.METAKEY_CONTROL - the 'control' key was pressed during the action event
  • ActionEventEx.METAKEY_META - the 'meta' key was pressed during the action event
See Also:
ButtonModelEx.doAction(int)

EchoPoint
2.1.0rc4