public class ROIEvent extends java.lang.Object implements CollapsibleEvent
Modifier and Type | Class and Description |
---|---|
static class |
ROIEvent.ROIEventType |
static class |
ROIEvent.ROIPointEventType
Deprecated.
|
Constructor and Description |
---|
ROIEvent(ROI source,
ROIEvent.ROIEventType type) |
ROIEvent(ROI source,
ROIEvent.ROIEventType type,
ROIEvent.ROIPointEventType pointEventType,
java.lang.Object point)
Deprecated.
Use
ROIEvent(ROI, ROIEventType) constructor instead |
ROIEvent(ROI source,
ROIEvent.ROIEventType type,
java.lang.String propertyName) |
ROIEvent(ROI source,
java.lang.String propertyName) |
Modifier and Type | Method and Description |
---|---|
boolean |
collapse(CollapsibleEvent event)
Collapse current object/event with specified one.
|
boolean |
equals(java.lang.Object obj)
Returns
true if the current event is equivalent to the specified one. |
java.lang.Object |
getPoint()
Deprecated.
|
ROIEvent.ROIPointEventType |
getPointEventType()
Deprecated.
|
java.lang.String |
getPropertyName() |
ROI |
getSource() |
ROIEvent.ROIEventType |
getType() |
int |
hashCode()
Returns hash code for current event.
|
@Deprecated public ROIEvent(ROI source, ROIEvent.ROIEventType type, ROIEvent.ROIPointEventType pointEventType, java.lang.Object point)
ROIEvent(ROI, ROIEventType)
constructor insteadpublic ROIEvent(ROI source, ROIEvent.ROIEventType type, java.lang.String propertyName)
public ROIEvent(ROI source, ROIEvent.ROIEventType type)
public ROIEvent.ROIEventType getType()
public java.lang.String getPropertyName()
@Deprecated public java.lang.Object getPoint()
@Deprecated public ROIEvent.ROIPointEventType getPointEventType()
public boolean collapse(CollapsibleEvent event)
CollapsibleEvent
collapse
in interface CollapsibleEvent
false
if collapse operation failed (object are not 'equals')public int hashCode()
CollapsibleEvent
Object.hashCode()
contract.hashCode
in interface CollapsibleEvent
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
CollapsibleEvent
true
if the current event is equivalent to the specified one.Object.equals(Object)
method as we use an HashMap to store
these event
in the UpdateEventHandler
class.equals
in interface CollapsibleEvent
equals
in class java.lang.Object