public class ManagerLayerVisibilityEvent extends ManagerLayerPropertyEvent
source
Constructor and Description |
---|
ManagerLayerVisibilityEvent(IlvManager manager,
IlvManagerLayer layer,
boolean oldvalue,
boolean newvalue)
Creates the event for the change of layer visibility.
|
ManagerLayerVisibilityEvent(IlvManager manager,
IlvManagerLayer layer,
IlvManagerView view,
boolean oldvalue,
boolean newvalue)
Creates the event.
|
Modifier and Type | Method and Description |
---|---|
IlvManagerView |
getManagerView()
Returns the manager view concerned by the event.
|
boolean |
getNewVisibility()
Returns the new visibility of the layer.
|
boolean |
getOldVisibility()
Returns the old visibility of the layer.
|
getNewValue, getOldValue
getLayer
getManager
getSource, toString
public ManagerLayerVisibilityEvent(IlvManager manager, IlvManagerLayer layer, boolean oldvalue, boolean newvalue)
IlvManager.setVisible(IlvManagerView, int, boolean, boolean)
).manager
- The manager source of the event.layer
- The layer whose visibility has changed.oldvalue
- Old value.newvalue
- New value.public ManagerLayerVisibilityEvent(IlvManager manager, IlvManagerLayer layer, IlvManagerView view, boolean oldvalue, boolean newvalue)
manager
- The manager source of the event.layer
- The layer whose visibility has changed.view
- The manager view for which the layer visibility has changed
(IlvManager.setVisible(IlvManagerView, int, boolean, boolean)
),
or null
if the layer visibility change is not restricted
to a given view (IlvManager.setVisible(int, boolean, boolean)
).oldvalue
- The old value of the visibility.newvalue
- The new value of the visibility.public IlvManagerView getManagerView()
null
if the layer visibility change is not restricted to a given view.public boolean getOldVisibility()
public boolean getNewVisibility()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.