Overlay
classes instead.@Deprecated public class PainterEvent extends java.lang.Object implements CollapsibleEvent
Modifier and Type | Class and Description |
---|---|
static class |
PainterEvent.PainterEventType
Deprecated.
|
Constructor and Description |
---|
PainterEvent(Painter source,
PainterEvent.PainterEventType type)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
collapse(CollapsibleEvent event)
Deprecated.
Collapse current object/event with specified one.
|
boolean |
equals(java.lang.Object obj)
Deprecated.
Returns
true if the current event is equivalent to the specified one. |
Painter |
getSource()
Deprecated.
|
PainterEvent.PainterEventType |
getType()
Deprecated.
|
int |
hashCode()
Deprecated.
Returns hash code for current event.
|
public PainterEvent(Painter source, PainterEvent.PainterEventType type)
public PainterEvent.PainterEventType getType()
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