Class NetworkElementRemoveEvent.Pre
java.lang.Object
org.cyclops.integrateddynamics.core.network.event.NetworkEvent
org.cyclops.integrateddynamics.core.network.event.NetworkElementRemoveEvent
org.cyclops.integrateddynamics.core.network.event.NetworkElementRemoveEvent.Pre
- All Implemented Interfaces:
ICancelableNetworkEvent
,INetworkEvent
- Enclosing class:
- NetworkElementRemoveEvent
public static class NetworkElementRemoveEvent.Pre
extends NetworkElementRemoveEvent
implements ICancelableNetworkEvent
A cancelable event before the element is removed from the network.
Canceling this event will prevent the network element from being removed.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.cyclops.integrateddynamics.core.network.event.NetworkElementRemoveEvent
NetworkElementRemoveEvent.Post, NetworkElementRemoveEvent.Pre
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
Cancel this event from further processing.boolean
Methods inherited from class org.cyclops.integrateddynamics.core.network.event.NetworkElementRemoveEvent
getNetworkElement
Methods inherited from class org.cyclops.integrateddynamics.core.network.event.NetworkEvent
getNetwork
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.cyclops.integrateddynamics.api.network.event.INetworkEvent
getNetwork
-
Constructor Details
-
Pre
-
-
Method Details
-
cancel
public void cancel()Description copied from interface:ICancelableNetworkEvent
Cancel this event from further processing.- Specified by:
cancel
in interfaceICancelableNetworkEvent
-
isCanceled
public boolean isCanceled()- Specified by:
isCanceled
in interfaceICancelableNetworkEvent
- Returns:
- If this event was canceled.
-