public class

StopPoint

extends Item
java.lang.Object
   ↳ net.pierrox.lightning_launcher.script.api.Item
     ↳ net.pierrox.lightning_launcher.script.api.StopPoint

Class Overview

The StopPoint object allows getting and setting stop points values.

Summary

Public Methods
int getDirection()
Return the direction on which this stop point is acting.
int getMatchingEdges()
Return the edges on which this stop point matches.
int getMatchingWhat()
Return what this stop point matches.
net.pierrox.lightning_launcher.data.StopPoint getStopPoint()
boolean isBarrier()
Return true if this stop point is a barrier
boolean isDesktopWide()
Return true if this stop point acts desktop wide
boolean isSnapping()
Return true if this stop point is snapping
void setBarrier(boolean barrier)
Set this stop point barrier attribute.
void setDesktopWide(boolean desktopWide)
Set this stop point desktop wide attribute.
void setDirection(int direction)
Set this stop point direction.
void setMatchingEdges(int matchEdge)
Set this stop point matching edges.
void setMatchingWhat(int matchingWhat)
Set this stop point matching scrolling type.
void setSnapping(boolean snapping)
Set this stop point snapping attribute.
[Expand]
Inherited Methods
From class net.pierrox.lightning_launcher.script.api.Item
From class java.lang.Object

Public Methods

public int getDirection ()

Return the direction on which this stop point is acting.

Returns
  • a binary combination of
    • left to right: 1
    • right to left: 2
    • top to bottom: 4
    • bottom to top: 8

public int getMatchingEdges ()

Return the edges on which this stop point matches.

Returns
  • a binary combination of
    • left: 1
    • right: 2
    • top: 4
    • bottom: 8

public int getMatchingWhat ()

Return what this stop point matches.

Returns
  • a binary combination of
    • scroll: 1
    • drag: 2

public net.pierrox.lightning_launcher.data.StopPoint getStopPoint ()

public boolean isBarrier ()

Return true if this stop point is a barrier

public boolean isDesktopWide ()

Return true if this stop point acts desktop wide

public boolean isSnapping ()

Return true if this stop point is snapping

public void setBarrier (boolean barrier)

Set this stop point barrier attribute.

public void setDesktopWide (boolean desktopWide)

Set this stop point desktop wide attribute.

public void setDirection (int direction)

Set this stop point direction.

public void setMatchingEdges (int matchEdge)

Set this stop point matching edges.

public void setMatchingWhat (int matchingWhat)

Set this stop point matching scrolling type.

public void setSnapping (boolean snapping)

Set this stop point snapping attribute.