Package com.inductiveautomation.rm.shape
Class RMShapeEventAdapter
- java.lang.Object
- 
- com.inductiveautomation.rm.shape.RMShapeEventAdapter
 
- 
 public class RMShapeEventAdapter extends java.lang.ObjectA class to listen for Swing events and send them on.
- 
- 
Constructor SummaryConstructors Constructor Description RMShapeEventAdapter(RMShape aShape)Creates a new RMShapeEventAdapter for given shape.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UIEvent.Type[]getEnabledEvents()Returns an array of enabled events.java.lang.StringgetEnabledEventsString()Returns the events string.RMShapegetShape()Returns the shape.booleanisEnabled(UIEvent.Type aType)Returns whether given type is enabled.booleanisEnabled(UIEvent.Type... theTypes)Returns whether any of given types are enabled.voidsetEnabled(UIEvent.Type aType, boolean aValue)Sets whether a given type is enabled.voidsetEnabledEvents(UIEvent.Type... theTypes)Sets an array of enabled events.voidsetEnabledEventsString(java.lang.String anEventsString)Sets the events string.
 
- 
- 
- 
Constructor Detail- 
RMShapeEventAdapterpublic RMShapeEventAdapter(RMShape aShape) Creates a new RMShapeEventAdapter for given shape.
 
- 
 - 
Method Detail- 
getShapepublic RMShape getShape() Returns the shape.
 - 
isEnabledpublic boolean isEnabled(UIEvent.Type aType) Returns whether given type is enabled.
 - 
isEnabledpublic boolean isEnabled(UIEvent.Type... theTypes) Returns whether any of given types are enabled.
 - 
setEnabledpublic void setEnabled(UIEvent.Type aType, boolean aValue) Sets whether a given type is enabled.
 - 
getEnabledEventspublic UIEvent.Type[] getEnabledEvents() Returns an array of enabled events.
 - 
setEnabledEventspublic void setEnabledEvents(UIEvent.Type... theTypes) Sets an array of enabled events.
 - 
getEnabledEventsStringpublic java.lang.String getEnabledEventsString() Returns the events string.
 - 
setEnabledEventsStringpublic void setEnabledEventsString(java.lang.String anEventsString) Sets the events string.
 
- 
 
-