Package com.dassault_systemes.catweb.base.catlet.command

   
Class CommandEvent

 
Class Hierarchy
java.lang.Object
  |
  +-java.util.EventObject
        |
        +-com.dassault_systemes.catweb.base.catlet.command.CommandEvent
Class Location

Framework : PortalBase

Module : PLBbase

Class Description

public class CommandEvent

The command selection event

Field Summary
int SELECTED
int UNSELECTED
int ONESHOT
int PERMANENT

Constructor Summary
CommandEvent(Object source, Command command, int state, int mode)
CommandEvent(Object source, Command command, int state)

Method Summary
Command getCommand()
int getState()
int getMode()


Field Detail

SELECTED

    int SELECTED


UNSELECTED

    int UNSELECTED


ONESHOT

    int ONESHOT


PERMANENT

    int PERMANENT


Constructor Detail

CommandEvent

    CommandEvent(Object source, Command command, int state, int mode)

Event generated when a command is selected for activation


CommandEvent

    CommandEvent(Object source, Command command, int state)

Event generated when a command is selected for activation. Command mode is permanent


Method Detail

getCommand

    Command getCommand()

Returns the command for which this event was generated


getState

    int getState()

Returns the state of the object which generated this event

See Also:
com.dassault_systemes.catweb.base.catlet.command.CommandEvent#SELECTED
com.dassault_systemes.catweb.base.catlet.command.CommandEvent#UNSELECTED

getMode

    int getMode()

Returns the mode with which the command has been selected

See Also:
com.dassault_systemes.catweb.base.catlet.command.CommandEvent#ONESHOT
com.dassault_systemes.catweb.base.catlet.command.CommandEvent#PERMANENT


Copyright © 2000, Dassault Systèmes. All rights reserved