|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
ilog.util.IlEventObject
ilog.cpl.graph.background.event.IlpBackgroundEvent
public class IlpBackgroundEvent
Represents events related to changes in the state of an
IlpBackgroundSupport's list of backgrounds. For example, when
backgrounds are added, removed, moved or reloaded.
IlpBackgroundListener,
IlpBackgroundSupport,
Serialized Form| Nested Class Summary | |
|---|---|
static class |
IlpBackgroundEvent.Type
Provides the predefined IlpBackgroundEvent event types. |
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
IlpBackgroundEvent(Object source,
IlEventType type,
IlpBackground background,
int index,
URL url)
|
|
| Method Summary | |
|---|---|
IlpBackground |
getBackground()
Returns the target IlpBackground instance. |
int |
getIndex()
Returns the index of the target IlpBackground instance. |
URL |
getUrl()
Returns the URL of the target IlpBackground instance. |
| 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 |
| Constructor Detail |
|---|
public IlpBackgroundEvent(Object source,
IlEventType type,
IlpBackground background,
int index,
URL url)
| Method Detail |
|---|
public int getIndex()
IlpBackground instance.
In case this is an IlpBackgroundEvent.Type.BackgroundAdded
the returned value is the insertion index.
In case, this is an IlpBackgroundEvent.Type.BackgroundRemoved
the index is the index of where background used to be at.
In case this is an IlpBackgroundEvent.Type.BackgroundReloaded
the returned value is the index where background is currently at.
In case this is an IlpBackgroundEvent.Type.BackgroundMoved
the returned value is the index where background was moved to.
public URL getUrl()
URL of the target IlpBackground instance.
URL of the target IlpBackground instance.public IlpBackground getBackground()
IlpBackground instance.
IlpBackground instance.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||