ilog.cpl.style
Class StyleChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by ilog.util.IlEventObject
          extended by ilog.cpl.style.StyleChangeEvent
All Implemented Interfaces:
Serializable

Deprecated. The Style API has been replaced by the Cascading Style Sheet mechanism. Refer to the User's Manual for further information.

public class StyleChangeEvent
extends IlEventObject

Event used to notify changes in style values. A StyleChangeEvent holds a set of IlpStyleKeys that have been modified.

Since:
JTGO 3.0
See Also:
StyleChangeListener, IlpStyleListenerSupport, Serialized Form
Deprecated Since:
JTGO 3.5

Nested Class Summary
static class StyleChangeEvent.Type
          Deprecated. Event types.
 
Field Summary
protected  boolean generalNotification
          Deprecated. Auxiliary flag used by the modifiers to know when to notify this event, only to the event source or to all its listeners
protected  Collection styleKeys
          Deprecated. Modified keys
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
StyleChangeEvent(Object source, Collection styleKeys)
          Deprecated. Creates a new event.
StyleChangeEvent(Object source, Collection styleKeys, boolean type)
          Deprecated. Creates an event which may be general or not.
StyleChangeEvent(Object source, IlEventType evtype)
          Deprecated. Creates an event which may be general or not.
StyleChangeEvent(Object source, IlpKey key)
          Deprecated. Creates a new event.
 
Method Summary
 Collection getStyleKeys()
          Deprecated. Returns the modified style keys.
 boolean isGeneral()
          Deprecated. Returns if the notification should be sent to all listeners or not.
 
Methods inherited from class ilog.util.IlEventObject
getType
 
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

styleKeys

protected Collection styleKeys
Deprecated. 
Modified keys

Internal method or field: do not use!

generalNotification

protected boolean generalNotification
Deprecated. 
Auxiliary flag used by the modifiers to know when to notify this event, only to the event source or to all its listeners

Internal method or field: do not use!
Constructor Detail

StyleChangeEvent

public StyleChangeEvent(Object source,
                        IlpKey key)
Deprecated. 
Creates a new event. It is sent when a style is modified and is used when a single style key is affected.

Parameters:
key - The modified style key.

StyleChangeEvent

public StyleChangeEvent(Object source,
                        Collection styleKeys)
Deprecated. 
Creates a new event. It is sent when a style is modified and is used when a collection of style keys is affected.

Parameters:
styleKeys - Holds a collection of the modified keys.

StyleChangeEvent

public StyleChangeEvent(Object source,
                        Collection styleKeys,
                        boolean type)
Deprecated. 
Creates an event which may be general or not.


StyleChangeEvent

public StyleChangeEvent(Object source,
                        IlEventType evtype)
Deprecated. 
Creates an event which may be general or not.

Method Detail

getStyleKeys

public Collection getStyleKeys()
Deprecated. 
Returns the modified style keys.


isGeneral

public boolean isGeneral()
Deprecated. 
Returns if the notification should be sent to all listeners or not.

Internal method or field: do not use!


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.