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
public static final int ONESHOT
public static final int PERMANENT
public static final int SELECTED
public static final int UNSELECTED

Constructor Summary
CommandEvent(Object source, Command command, int state, int mode)
Event generated when a command is selected for activation
CommandEvent(Object source, Command command, int state)
Event generated when a command is selected for activation.

Method Summary
public Command getCommand()
Returns the command for which this event was generated
public int getMode()
Returns the mode with which the command has been selected
public int getState()
Returns the state of the object which generated this event


Field Detail

ONESHOT

    public static final int ONESHOT


PERMANENT

    public static final int PERMANENT


SELECTED

    public static final int SELECTED


UNSELECTED

    public static final int UNSELECTED


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

    public Command getCommand()

Returns the command for which this event was generated


getMode

    public 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

getState

    public 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


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