ilog.views.graphlayout.labellayout
Class LabelLayoutParameterEvent
java.lang.Object
java.util.EventObject
ilog.views.graphlayout.labellayout.LabelLayoutParameterEvent
- All Implemented Interfaces:
- Serializable
public final class LabelLayoutParameterEvent
- extends EventObject
If you install a LabelLayoutParameterEventListener on a label layout
instance, a LabelLayoutParameterEvent is delivered to the
listener each time the method
IlvLabelLayout.setParametersUpToDate(boolean) is called, that is, each time
a layout parameter changes and each time the layout is successfully
performed.
This allows you to react when a layout parameter changes,
for instance, to update a display that shows the current values
of the layout parameters or to update a flag indicating
whether the set of layout parameters must be saved to a file.
- Since:
- JViews 5.0
- See Also:
LabelLayoutParameterEventListener,
IlvLabelLayout.addLabelLayoutParameterEventListener(LabelLayoutParameterEventListener),
IlvLabelLayout.setParametersUpToDate(boolean),
Serialized Form
LabelLayoutParameterEvent
public LabelLayoutParameterEvent(IlvLabelLayout layout,
boolean parametersUpToDate)
- Creates the event.
- Parameters:
layout - The layout instance source of the event.parametersUpToDate - true if the label layout parameters
are set up-to-date; false if a layout parameter
changed.
getLabelLayout
public IlvLabelLayout getLabelLayout()
- Returns the label layout instance of the event.
isParametersUpToDate
public boolean isParametersUpToDate()
- Returns
true if IlvLabelLayout.setParametersUpToDate(boolean)
was called with a true argument. This usually happens only
after the layout was successfully performed.
Returns false if IlvLabelLayout.setParametersUpToDate(boolean)
was called with a false argument. This usually happens
when a label layout parameter changed.
- See Also:
IlvLabelLayout.performLayout(),
IlvLabelLayout.setParametersUpToDate(boolean)
Copyright © 1996-2007 ILOG S.A. All rights reserved. Documentation homepage.