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 |
---|---|
javi.ui.UITypes.UIEventType[] |
getEnabledEvents()
Returns an array of enabled events.
|
java.lang.String |
getEnabledEventsString()
Returns the events string.
|
RMShape |
getShape()
Returns the shape.
|
boolean |
isEnabled(javi.ui.UITypes.UIEventType... theTypes)
Returns whether any of given types are enabled.
|
boolean |
isEnabled(javi.ui.UITypes.UIEventType aType)
Returns whether given type is enabled.
|
void |
setEnabled(javi.ui.UITypes.UIEventType aType,
boolean aValue)
Sets whether a given type is enabled.
|
void |
setEnabledEvents(javi.ui.UITypes.UIEventType... 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(javi.ui.UITypes.UIEventType aType)
public boolean isEnabled(javi.ui.UITypes.UIEventType... theTypes)
public void setEnabled(javi.ui.UITypes.UIEventType aType, boolean aValue)
public javi.ui.UITypes.UIEventType[] getEnabledEvents()
public void setEnabledEvents(javi.ui.UITypes.UIEventType... theTypes)
public java.lang.String getEnabledEventsString()
public void setEnabledEventsString(java.lang.String anEventsString)