|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jpicedt.graphic.toolkit.AbstractMouseTransformFactory jpicedt.graphic.toolkit.EditConvexZoneMouseTransformFactory
public class EditConvexZoneMouseTransformFactory
Nested Class Summary | |
---|---|
protected class |
EditConvexZoneMouseTransformFactory.MoveConvexZoneTransform
Une transformation de souris qui peut translater un ensemble de zone convexe. |
protected class |
EditConvexZoneMouseTransformFactory.SelectConvexZonesInAreaTransform
a mouse-transform that selects all elements inside a rectangle dragged by the user |
protected class |
EditConvexZoneMouseTransformFactory.UnselectTransform
|
Nested classes/interfaces inherited from class jpicedt.graphic.toolkit.AbstractMouseTransformFactory |
---|
AbstractMouseTransformFactory.HelpMessageMouseTransform, AbstractMouseTransformFactory.InvalidMouseTransform, AbstractMouseTransformFactory.SelectAreaTransform |
Field Summary |
---|
Fields inherited from class jpicedt.graphic.toolkit.AbstractMouseTransformFactory |
---|
ucc |
Constructor Summary | |
---|---|
EditConvexZoneMouseTransformFactory(EditorKit kit)
Crée un nouvel examplaire de EditConvexZoneMouseTransformFactory . |
Method Summary | |
---|---|
MouseTransform |
createMouseTransform(PEMouseEvent e)
Return a MouseTransform whose type is adequate with the given mouse-event. |
Methods inherited from class jpicedt.graphic.toolkit.AbstractMouseTransformFactory |
---|
flush, getEditorKit, init, paint |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EditConvexZoneMouseTransformFactory(EditorKit kit)
EditConvexZoneMouseTransformFactory
.
kit
- une valeur de classe EditorKit
.Method Detail |
---|
public MouseTransform createMouseTransform(PEMouseEvent e)
MouseTransform
whose type is adequate with the given mouse-event.
This can be null if no MouseTransform matches the given event.
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.
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |