public class RMShapeEventAdapter
extends java.lang.Object
Constructor and Description |
---|
RMShapeEventAdapter(RMShape aShape)
Creates a new RMShapeEventAdapter for given shape.
|
Modifier and Type | Method and Description |
---|---|
UIEvent.Type[] |
getEnabledEvents()
Returns an array of enabled events.
|
java.lang.String |
getEnabledEventsString()
Returns the events string.
|
RMShape |
getShape()
Returns the shape.
|
boolean |
isEnabled(UIEvent.Type... theTypes)
Returns whether any of given types are enabled.
|
boolean |
isEnabled(UIEvent.Type aType)
Returns whether given type is enabled.
|
void |
setEnabled(UIEvent.Type aType,
boolean aValue)
Sets whether a given type is enabled.
|
void |
setEnabledEvents(UIEvent.Type... theTypes)
Sets an array of enabled events.
|
void |
setEnabledEventsString(java.lang.String anEventsString)
Sets the events string.
|
public RMShapeEventAdapter(RMShape aShape)
public RMShape getShape()
public boolean isEnabled(UIEvent.Type aType)
public boolean isEnabled(UIEvent.Type... theTypes)
public void setEnabled(UIEvent.Type aType, boolean aValue)
public UIEvent.Type[] getEnabledEvents()
public void setEnabledEvents(UIEvent.Type... theTypes)
public java.lang.String getEnabledEventsString()
public void setEnabledEventsString(java.lang.String anEventsString)