public class EditElementMouseTransformFactory extends AbstractMouseTransformFactory
Modifier and Type | Class and Description |
---|---|
protected class |
EditElementMouseTransformFactory._MoveControlPointTransform
a mouse-transform that moves element's end-points, ie aka scales elements
|
protected class |
EditElementMouseTransformFactory._MoveElementTransform
A mouse-transform that can translate an element, or a group of element.
|
protected class |
EditElementMouseTransformFactory.MoveControlPointTransform
a mouse-transform that moves element's end-points, ie aka scales elements.
|
protected class |
EditElementMouseTransformFactory.MoveElementTransform
A mouse-transform that can translate an element, or a group of element.
|
protected class |
EditElementMouseTransformFactory.SelectElementsInAreaTransform
a mouse-transform that selects all elements inside a rectangle dragged by the user
|
protected class |
EditElementMouseTransformFactory.UnselectTransform |
AbstractMouseTransformFactory.HelpMessageMouseTransform, AbstractMouseTransformFactory.InvalidMouseTransform, AbstractMouseTransformFactory.SelectAreaTransform
Constructor and Description |
---|
EditElementMouseTransformFactory(EditorKit kit) |
Modifier and Type | Method and Description |
---|---|
MouseTransform |
createMouseTransform(PEMouseEvent e)
Return a MouseTransform whose type is adequate with the given mouse-event.
|
flush, getEditorKit, init, paint
public EditElementMouseTransformFactory(EditorKit kit)
kit
- the hosting editor-kitpublic MouseTransform createMouseTransform(PEMouseEvent e)
Basically, we work with the following modifiers : Shift, Control, Alt. Other modifiers must be excluded, given their poor support on MacOS platforms, and their odd behaviours on some Unices. Similarly, double-click events should be avoided since these are rather hard to deal with seeing that a single-click event is ALWAYS posted beforehands.
Submit a bug : syd@jpicedt.org