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 NetworkElementRemoveEvent
NetworkElementRemoveEvent.Post, NetworkElementRemoveEvent.Pre -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()Cancel this event from further processing.booleanMethods inherited from class NetworkElementRemoveEvent
getNetworkElementMethods inherited from class NetworkEvent
getNetworkMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface INetworkEvent
getNetwork
-
Constructor Details
-
Pre
-
-
Method Details
-
cancel
public void cancel()Description copied from interface:ICancelableNetworkEventCancel this event from further processing.- Specified by:
cancelin interfaceICancelableNetworkEvent
-
isCanceled
public boolean isCanceled()- Specified by:
isCanceledin interfaceICancelableNetworkEvent- Returns:
- If this event was canceled.
-