Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.paradoxpoint.libitina.option
Class OptionEvent  view OptionEvent download OptionEvent.java

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.paradoxpoint.libitina.option.OptionEvent
All Implemented Interfaces:
java.io.Serializable

public class OptionEvent
extends java.util.EventObject

A semantic event which indicates that an option's state has changed. This high-level event is generated by an OptionContainer when an option's state changes because of the user or programmatically. The event is passed to every ObjectListener object which registered to receive such events using the OptionContainer's addOptionListener method.


Field Summary
protected  AbstractOption option
          option
protected  java.lang.Object state
          option state
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
OptionEvent(java.lang.Object source, AbstractOption option)
          Creates a new instance of OptionEvent
 
Method Summary
 AbstractOption getOption()
          Getter for property option.
 java.lang.Object getState()
          Getter for property state.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

option

protected AbstractOption option
option


state

protected java.lang.Object state
option state

Constructor Detail

OptionEvent

public OptionEvent(java.lang.Object source,
                   AbstractOption option)
Creates a new instance of OptionEvent

Method Detail

getOption

public AbstractOption getOption()
Getter for property option.


getState

public java.lang.Object getState()
Getter for property state.