PenProfile 2.x

com.livescribe.event
Class SystemEvent

java.lang.Object
  extended by com.livescribe.event.Event
      extended by com.livescribe.event.PenletEvent
          extended by com.livescribe.event.SystemEvent
Direct Known Subclasses:
HardwareEvent, SystemEvent.Config

public class SystemEvent
extends PenletEvent

This represents system-specific events.


Nested Class Summary
static class SystemEvent.Config
          This class encapsulates system configuration values as SystemEvent objects.
 
Field Summary
static SystemEvent AutoOffSound
          A SystemEvent instance for SE_AUTO_OFF_SOUND.
static SystemEvent MuteWarningOff
          A SystemEvent instance for SE_MUTE_WARN_OFF.
static SystemEvent MuteWarningOn
          A SystemEvent instance for SE_MUTE_WARN_ON.
 int param1
          The first event parameter.
 int param2
          The second event parameter.
static SystemEvent RecordingStarted
          A SystemEvent instance for SE_RECORDING_STARTED.
static SystemEvent RecordingStopped
          A SystemEvent instance for SE_RECORDING_STOPPED.
static SystemEvent ScrollPausedAtEnd
          A SystemEvent instance for SE_SCROLL_PAUSED_AT_END.
static SystemEvent ScrollPausedAtStart
          A SystemEvent instance for SE_SCROLL_PAUSED_AT_START.
static short SE_AUTO_OFF_SOUND
          The auto off sound event.
static short SE_DEBUG_DUMP_THREADS
          A private, not-for-use, ID.
static short SE_DOCKING_STARTED
          The pen doc started event.
static short SE_DOCKING_STOPPED
          The pen doc stopped event.
static int SE_DOUBLETAP
          The double tap event.
static short SE_DOWNLOAD_DATA_START
          The USB data transfer from the host started event.
static short SE_DOWNLOAD_DATA_STOP
          The USB data transfer from the host stopped event.
static short SE_LSP_NOT_FOUND
          A private, not-for-use, ID.
static short SE_MUTE_WARN_OFF
          The mute warning is off event.
static short SE_MUTE_WARN_ON
          The mute warning is on event.
static short SE_NULL
          A private, not-for-use, ID.
static short SE_OUTSIDE_PAPER_SPACE
          The outside paper space ID.
static short SE_PROFILE_DUMP
          A private, not-for-use, ID.
static short SE_PROFILE_OFF
          A private, not-for-use, ID.
static short SE_PROFILE_ON
          A private, not-for-use, ID.
static short SE_PROPERTY_CHANGED
          The system config value modified event.
static short SE_RECORDING_STARTED
          The recording started event.
static short SE_RECORDING_STOPPED
          The recording stopped event.
static short SE_SCROLL_PAUSED_AT_END
          The scroll paused at text end event.
static short SE_SCROLL_PAUSED_AT_START
          The scroll paused at text start event.
static int SE_SHUTDOWN
          The shutdown event.
static int SE_SINGLETAP
          The single tap event.
static short SE_TODO
          A private, not-for-use, ID.
static short SE_UPLOAD_DATA_START
          The USB data transfer to the host started event.
static short SE_UPLOAD_DATA_STOP
          The USB data transfer to the host stopped event.
 
Fields inherited from class com.livescribe.event.PenletEvent
size, time
 
Fields inherited from class com.livescribe.event.Event
consumed, eventId
 
Constructor Summary
SystemEvent(int param1, int param2, long time, int size, int id)
          Deprecated.  
 
Method Summary
 String toString()
          Returns a string representation of this object.
 
Methods inherited from class com.livescribe.event.PenletEvent
getTime, toDate
 
Methods inherited from class com.livescribe.event.Event
consume, getId, isConsumed
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SE_SHUTDOWN

public static final int SE_SHUTDOWN
The shutdown event.

See Also:
Constant Field Values

SE_SINGLETAP

public static final int SE_SINGLETAP
The single tap event.

See Also:
Constant Field Values

SE_DOUBLETAP

public static final int SE_DOUBLETAP
The double tap event.

See Also:
Constant Field Values

SE_TODO

public static final short SE_TODO
A private, not-for-use, ID.

See Also:
Constant Field Values

SE_RECORDING_STARTED

public static final short SE_RECORDING_STARTED
The recording started event.

See Also:
Constant Field Values

SE_RECORDING_STOPPED

public static final short SE_RECORDING_STOPPED
The recording stopped event.

See Also:
Constant Field Values

SE_OUTSIDE_PAPER_SPACE

public static final short SE_OUTSIDE_PAPER_SPACE
The outside paper space ID.

See Also:
Constant Field Values

SE_LSP_NOT_FOUND

public static final short SE_LSP_NOT_FOUND
A private, not-for-use, ID.

See Also:
Constant Field Values

SE_MUTE_WARN_ON

public static final short SE_MUTE_WARN_ON
The mute warning is on event.

See Also:
Constant Field Values

SE_MUTE_WARN_OFF

public static final short SE_MUTE_WARN_OFF
The mute warning is off event.

See Also:
Constant Field Values

SE_PROFILE_ON

public static final short SE_PROFILE_ON
A private, not-for-use, ID.

See Also:
Constant Field Values

SE_PROFILE_OFF

public static final short SE_PROFILE_OFF
A private, not-for-use, ID.

See Also:
Constant Field Values

SE_PROFILE_DUMP

public static final short SE_PROFILE_DUMP
A private, not-for-use, ID.

See Also:
Constant Field Values

SE_DEBUG_DUMP_THREADS

public static final short SE_DEBUG_DUMP_THREADS
A private, not-for-use, ID.

See Also:
Constant Field Values

SE_PROPERTY_CHANGED

public static final short SE_PROPERTY_CHANGED
The system config value modified event.

See Also:
Constant Field Values

SE_UPLOAD_DATA_START

public static final short SE_UPLOAD_DATA_START
The USB data transfer to the host started event.

See Also:
Constant Field Values

SE_UPLOAD_DATA_STOP

public static final short SE_UPLOAD_DATA_STOP
The USB data transfer to the host stopped event.

See Also:
Constant Field Values

SE_DOCKING_STARTED

public static final short SE_DOCKING_STARTED
The pen doc started event.

See Also:
Constant Field Values

SE_DOCKING_STOPPED

public static final short SE_DOCKING_STOPPED
The pen doc stopped event.

See Also:
Constant Field Values

SE_SCROLL_PAUSED_AT_START

public static final short SE_SCROLL_PAUSED_AT_START
The scroll paused at text start event.

See Also:
Constant Field Values

SE_SCROLL_PAUSED_AT_END

public static final short SE_SCROLL_PAUSED_AT_END
The scroll paused at text end event.

See Also:
Constant Field Values

SE_AUTO_OFF_SOUND

public static final short SE_AUTO_OFF_SOUND
The auto off sound event.

See Also:
Constant Field Values

SE_DOWNLOAD_DATA_START

public static final short SE_DOWNLOAD_DATA_START
The USB data transfer from the host started event.

See Also:
Constant Field Values

SE_DOWNLOAD_DATA_STOP

public static final short SE_DOWNLOAD_DATA_STOP
The USB data transfer from the host stopped event.

See Also:
Constant Field Values

SE_NULL

public static final short SE_NULL
A private, not-for-use, ID.

See Also:
Constant Field Values

RecordingStarted

public static final SystemEvent RecordingStarted
A SystemEvent instance for SE_RECORDING_STARTED.


RecordingStopped

public static final SystemEvent RecordingStopped
A SystemEvent instance for SE_RECORDING_STOPPED.


MuteWarningOn

public static final SystemEvent MuteWarningOn
A SystemEvent instance for SE_MUTE_WARN_ON.


MuteWarningOff

public static final SystemEvent MuteWarningOff
A SystemEvent instance for SE_MUTE_WARN_OFF.


ScrollPausedAtStart

public static final SystemEvent ScrollPausedAtStart
A SystemEvent instance for SE_SCROLL_PAUSED_AT_START.


ScrollPausedAtEnd

public static final SystemEvent ScrollPausedAtEnd
A SystemEvent instance for SE_SCROLL_PAUSED_AT_END.


AutoOffSound

public static final SystemEvent AutoOffSound
A SystemEvent instance for SE_AUTO_OFF_SOUND.


param1

public final int param1
The first event parameter.


param2

public final int param2
The second event parameter.

Constructor Detail

SystemEvent

public SystemEvent(int param1,
                   int param2,
                   long time,
                   int size,
                   int id)
Deprecated. 

Creates a new system event having the given parameters.

Parameters:
id - the event ID
time - the event time
size - size information
param1 - event parameter 1
param2 - event parameter 2
Method Detail

toString

public String toString()
Returns a string representation of this object.

Overrides:
toString in class PenletEvent
Returns:
a string representation of this object.

PenProfile 2.x

Copyright © 2010 Livescribe Inc. All Rights Reserved.
Confidential and subject to NDA.