Package com.inductiveautomation.rm.shape
Class RMShapeEventAdapter
java.lang.Object
com.inductiveautomation.rm.shape.RMShapeEventAdapter
A class to listen for Swing events and send them on.
- 
Constructor SummaryConstructorsConstructorDescriptionRMShapeEventAdapter(RMShape aShape) Creates a new RMShapeEventAdapter for given shape.
- 
Method SummaryModifier and TypeMethodDescriptionReturns an array of enabled events.Returns the events string.getShape()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(String anEventsString) Sets the events string.
- 
Constructor Details- 
RMShapeEventAdapterCreates a new RMShapeEventAdapter for given shape.
 
- 
- 
Method Details- 
getShapeReturns the shape.
- 
isEnabledReturns whether given type is enabled.
- 
isEnabledReturns whether any of given types are enabled.
- 
setEnabledSets whether a given type is enabled.
- 
getEnabledEventsReturns an array of enabled events.
- 
setEnabledEventsSets an array of enabled events.
- 
getEnabledEventsStringReturns the events string.
- 
setEnabledEventsStringSets the events string.
 
-