Package | Description |
---|---|
com.luciad.input.touch |
This package contains classes necessary to add touch based functionality to LuciadLightspeed.
|
com.luciad.view.gxy.controller.touch |
Touch controllers for the 2D view.
|
com.luciad.view.lightspeed.controller.touch |
Provides controller implementations that work with touch input instead of
mouse input.
|
Modifier and Type | Method and Description |
---|---|
TLcdTouchPoint |
TLcdTouchPoint.cloneAs(TLcdTouchPoint.State aState,
long aTouchPointID,
Point aLocation,
int aTapCount,
String aTouchPointType,
boolean aConsumed,
long aCxContact,
long aCyContact)
Create a new instance of this class based on the information passed as parameters to this
method.
|
TLcdTouchPoint |
TLcdTouchEvent.getModifiedTouchPoint()
Returns the
TLcdTouchPoint instance which has been modified (the only
TLcdTouchPoint with a state different from
TLcdTouchPoint.State.STATIONARY ). |
TLcdTouchPoint |
TLcdTouchEvent.getTouchPoint(long aTouchPointID)
|
Modifier and Type | Method and Description |
---|---|
List<TLcdTouchPoint> |
TLcdTouchEvent.getStationaryTouchPoints()
Returns a list containing all
TLcdTouchPoint instances which describe a
touch point that has remained stationary . |
List<TLcdTouchPoint> |
TLcdTouchEvent.getTouchPoints()
Returns an unmodifiable list of the associated
TLcdTouchPoint
instances. |
Modifier and Type | Method and Description |
---|---|
TLcdTouchEvent |
TLcdTouchEvent.cloneAs(long aTouchEventID,
Object aSource,
List<TLcdTouchPoint> aTouchPointList,
long aTouchDeviceID,
String aUserID,
long aTimeStamp)
Create a new instance of this class based on the information passed as parameters to this
method.
|
Constructor and Description |
---|
TLcdTouchEvent(long aTouchEventID,
Object aSource,
List<TLcdTouchPoint> aTouchPointList,
long aTouchDeviceID,
String aUserID,
long aTimeStamp)
Create a new
TLcdTouchEvent . |
Modifier and Type | Method and Description |
---|---|
protected abstract List<TLcdTouchPoint> |
ALcdGXYTouchChainableController.touchPointAvailable(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchDown)
This method is called every time a new touch point is created or becomes available and
allows to react accordingly.
|
protected List<TLcdTouchPoint> |
ALcdGXYConfinedTouchChainableController.touchPointAvailable(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchDown) |
protected abstract List<TLcdTouchPoint> |
ALcdGXYTouchChainableController.touchPointMoved(List<TLcdTouchPoint> aTrackedTouchPoints,
TLcdTouchPoint aTouchMoved)
This method is called when one of the touch points, used by this controller, is moved beyond
the threshold and allows to react accordingly.
|
protected abstract List<TLcdTouchPoint> |
ALcdGXYTouchChainableController.touchPointWithdrawn(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchUp)
This methods is called every time a tracked touch point is removed or consumed and allows to
react accordingly.
|
protected List<TLcdTouchPoint> |
ALcdGXYConfinedTouchChainableController.touchPointWithdrawn(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchUp) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
TLcdGXYTouchNewController.shouldCommit(Object aObject,
int aEditCount,
Graphics aGraphics,
TLcdTouchPoint aTouchPoint,
ILcdGXYLayerSubsetList aSnappables,
ILcdGXYContext aContext)
This method indicates that the object should be committed.
|
protected boolean |
TLcdGXYTouchNewController.shouldEdit(Object aObject,
int aEditCount,
Graphics aGraphics,
TLcdTouchPoint aTouchPoint,
ILcdGXYLayerSubsetList aSnappables,
ILcdGXYContext aContext)
This method controls when a edit should take place ( placing a point ).
|
protected boolean |
TLcdGXYTouchNewController.shouldUndo(Object aObject,
int aEditCount,
Graphics aGraphics,
TLcdTouchPoint aTouchPoint,
ILcdGXYLayerSubsetList aSnappables,
ILcdGXYContext aContext)
This method controls when you should undo instead of edit.
|
protected abstract List<TLcdTouchPoint> |
ALcdGXYTouchChainableController.touchPointAvailable(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchDown)
This method is called every time a new touch point is created or becomes available and
allows to react accordingly.
|
protected List<TLcdTouchPoint> |
ALcdGXYConfinedTouchChainableController.touchPointAvailable(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchDown) |
protected abstract List<TLcdTouchPoint> |
ALcdGXYTouchChainableController.touchPointMoved(List<TLcdTouchPoint> aTrackedTouchPoints,
TLcdTouchPoint aTouchMoved)
This method is called when one of the touch points, used by this controller, is moved beyond
the threshold and allows to react accordingly.
|
protected abstract List<TLcdTouchPoint> |
ALcdGXYTouchChainableController.touchPointWithdrawn(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchUp)
This methods is called every time a tracked touch point is removed or consumed and allows to
react accordingly.
|
protected List<TLcdTouchPoint> |
ALcdGXYConfinedTouchChainableController.touchPointWithdrawn(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchUp) |
Modifier and Type | Method and Description |
---|---|
protected abstract List<TLcdTouchPoint> |
ALcdGXYTouchChainableController.touchPointAvailable(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchDown)
This method is called every time a new touch point is created or becomes available and
allows to react accordingly.
|
protected List<TLcdTouchPoint> |
ALcdGXYConfinedTouchChainableController.touchPointAvailable(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchDown) |
protected abstract List<TLcdTouchPoint> |
ALcdGXYTouchChainableController.touchPointMoved(List<TLcdTouchPoint> aTrackedTouchPoints,
TLcdTouchPoint aTouchMoved)
This method is called when one of the touch points, used by this controller, is moved beyond
the threshold and allows to react accordingly.
|
protected abstract List<TLcdTouchPoint> |
ALcdGXYTouchChainableController.touchPointWithdrawn(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchUp)
This methods is called every time a tracked touch point is removed or consumed and allows to
react accordingly.
|
protected List<TLcdTouchPoint> |
ALcdGXYConfinedTouchChainableController.touchPointWithdrawn(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchUp) |
Modifier and Type | Method and Description |
---|---|
protected List<TLcdTouchPoint> |
TLspTouchNavigateController.touchPointAvailable(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchDown) |
protected List<TLcdTouchPoint> |
TLspTouchAndHoldActionController.touchPointAvailable(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchDown) |
protected abstract List<TLcdTouchPoint> |
ALspTouchController.touchPointAvailable(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchDown)
This method is called every time a new touch point is created or becomes available and
allows to react accordingly.
|
protected List<TLcdTouchPoint> |
ALspConfinedTouchController.touchPointAvailable(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchDown) |
protected List<TLcdTouchPoint> |
TLspTouchNavigateController.touchPointMoved(List<TLcdTouchPoint> aTrackedTouchPoints,
TLcdTouchPoint aTouchMoved) |
protected List<TLcdTouchPoint> |
TLspTouchAndHoldActionController.touchPointMoved(List<TLcdTouchPoint> aTrackedTouchPoints,
TLcdTouchPoint aTouchMoved) |
protected abstract List<TLcdTouchPoint> |
ALspTouchController.touchPointMoved(List<TLcdTouchPoint> aTrackedTouchPoints,
TLcdTouchPoint aTouchMoved)
This method is called when one of the touch points, used by this controller, is moved
beyond
the threshold and allows to react accordingly.
|
protected List<TLcdTouchPoint> |
TLspTouchNavigateController.touchPointWithdrawn(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchUp) |
protected List<TLcdTouchPoint> |
TLspTouchAndHoldActionController.touchPointWithdrawn(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchUp) |
protected abstract List<TLcdTouchPoint> |
ALspTouchController.touchPointWithdrawn(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchUp)
This methods is called every time a tracked touch point is removed or consumed and allows
to
react accordingly.
|
protected List<TLcdTouchPoint> |
ALspConfinedTouchController.touchPointWithdrawn(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchUp) |
Modifier and Type | Method and Description |
---|---|
protected TLspSelectChoice |
TLspTouchSelectEditController.selectChoice(TLcdTouchPoint aTouchPoint,
ALspSelectInput aInput,
Set<TLspPaintRepresentation> aRepresentations)
Returns the
TLspSelectChoice to use, a parameter that indicates how to select
the actual candidates from a set of possible selection candidates. |
protected TLspSelectMode |
TLspTouchSelectEditController.selectMode(TLcdTouchPoint aTouchPoint,
ALspSelectInput aInput,
Set<TLspPaintRepresentation> aRepresentations,
TLspSelectChoice aChoice)
Returns the mode that defines how the objects involved in the selection
should interact with the existing selection, for example add them, remove
them, toggle their selection state, etc.
|
protected Set<TLspPaintRepresentation> |
TLspTouchSelectEditController.selectWhat(TLcdTouchPoint aTouchPoint,
ALspSelectInput aInput)
Returns the mode that defines by what objects can be selected: by their
bodies, their labels, ...
|
protected List<TLcdTouchPoint> |
TLspTouchNavigateController.touchPointAvailable(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchDown) |
protected List<TLcdTouchPoint> |
TLspTouchAndHoldActionController.touchPointAvailable(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchDown) |
protected abstract List<TLcdTouchPoint> |
ALspTouchController.touchPointAvailable(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchDown)
This method is called every time a new touch point is created or becomes available and
allows to react accordingly.
|
protected List<TLcdTouchPoint> |
ALspConfinedTouchController.touchPointAvailable(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchDown) |
protected List<TLcdTouchPoint> |
TLspTouchNavigateController.touchPointMoved(List<TLcdTouchPoint> aTrackedTouchPoints,
TLcdTouchPoint aTouchMoved) |
protected List<TLcdTouchPoint> |
TLspTouchAndHoldActionController.touchPointMoved(List<TLcdTouchPoint> aTrackedTouchPoints,
TLcdTouchPoint aTouchMoved) |
protected abstract List<TLcdTouchPoint> |
ALspTouchController.touchPointMoved(List<TLcdTouchPoint> aTrackedTouchPoints,
TLcdTouchPoint aTouchMoved)
This method is called when one of the touch points, used by this controller, is moved
beyond
the threshold and allows to react accordingly.
|
protected List<TLcdTouchPoint> |
TLspTouchNavigateController.touchPointWithdrawn(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchUp) |
protected List<TLcdTouchPoint> |
TLspTouchAndHoldActionController.touchPointWithdrawn(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchUp) |
protected abstract List<TLcdTouchPoint> |
ALspTouchController.touchPointWithdrawn(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchUp)
This methods is called every time a tracked touch point is removed or consumed and allows
to
react accordingly.
|
protected List<TLcdTouchPoint> |
ALspConfinedTouchController.touchPointWithdrawn(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchUp) |
Modifier and Type | Method and Description |
---|---|
protected List<TLcdTouchPoint> |
TLspTouchNavigateController.touchPointAvailable(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchDown) |
protected List<TLcdTouchPoint> |
TLspTouchAndHoldActionController.touchPointAvailable(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchDown) |
protected abstract List<TLcdTouchPoint> |
ALspTouchController.touchPointAvailable(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchDown)
This method is called every time a new touch point is created or becomes available and
allows to react accordingly.
|
protected List<TLcdTouchPoint> |
ALspConfinedTouchController.touchPointAvailable(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchDown) |
protected List<TLcdTouchPoint> |
TLspTouchNavigateController.touchPointMoved(List<TLcdTouchPoint> aTrackedTouchPoints,
TLcdTouchPoint aTouchMoved) |
protected List<TLcdTouchPoint> |
TLspTouchAndHoldActionController.touchPointMoved(List<TLcdTouchPoint> aTrackedTouchPoints,
TLcdTouchPoint aTouchMoved) |
protected abstract List<TLcdTouchPoint> |
ALspTouchController.touchPointMoved(List<TLcdTouchPoint> aTrackedTouchPoints,
TLcdTouchPoint aTouchMoved)
This method is called when one of the touch points, used by this controller, is moved
beyond
the threshold and allows to react accordingly.
|
protected List<TLcdTouchPoint> |
TLspTouchNavigateController.touchPointWithdrawn(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchUp) |
protected List<TLcdTouchPoint> |
TLspTouchAndHoldActionController.touchPointWithdrawn(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchUp) |
protected abstract List<TLcdTouchPoint> |
ALspTouchController.touchPointWithdrawn(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchUp)
This methods is called every time a tracked touch point is removed or consumed and allows
to
react accordingly.
|
protected List<TLcdTouchPoint> |
ALspConfinedTouchController.touchPointWithdrawn(List<TLcdTouchPoint> aTouchPoints,
TLcdTouchPoint aTouchUp) |