sk.uniba.euromath.editor.textEditor.requests
Class RequestConstants

java.lang.Object
  extended by sk.uniba.euromath.editor.textEditor.requests.RequestConstants

public class RequestConstants
extends Object

Holds requests types.

Author:
Tomáš Studva, Martin Kollar 30.9.2005

Field Summary
static String ACTIVATE_CARET_REQUEST
           
static String ACTIVATE_TEXT_EDITING_REQUEST
          Activates text editing.
static String DEACTIVATE_CARET_REQUEST
           
static String DELETE_TEXT_REQUEST
          Delete text's.
static String DOWN
           
static int DRAGGING
           
static String EDIT_TEXT_REQUEST
          Logical type for editing requests.
static String END
           
static int FINISH_DRAG
           
static String HOME
           
static String INSERT_TEXT_REQUEST
          Insert's text.
static String LEFT
           
static String MOVE_CARET_REQUEST
           
static String RETARGET_CARET_REQUEST
           
static String RIGHT
           
static int START_DRAG
           
static String TEXT_SELECT
           
static String UP
           
 
Constructor Summary
RequestConstants()
           
 
Method Summary
static boolean isDirection(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EDIT_TEXT_REQUEST

public static final String EDIT_TEXT_REQUEST
Logical type for editing requests. They are packaged(grouped) together.

See Also:
Constant Field Values

DELETE_TEXT_REQUEST

public static final String DELETE_TEXT_REQUEST
Delete text's.

See Also:
Constant Field Values

INSERT_TEXT_REQUEST

public static final String INSERT_TEXT_REQUEST
Insert's text.

See Also:
Constant Field Values

ACTIVATE_TEXT_EDITING_REQUEST

public static final String ACTIVATE_TEXT_EDITING_REQUEST
Activates text editing.

See Also:
Constant Field Values

ACTIVATE_CARET_REQUEST

public static final String ACTIVATE_CARET_REQUEST
See Also:
Constant Field Values

DEACTIVATE_CARET_REQUEST

public static final String DEACTIVATE_CARET_REQUEST
See Also:
Constant Field Values

MOVE_CARET_REQUEST

public static final String MOVE_CARET_REQUEST
See Also:
Constant Field Values

RETARGET_CARET_REQUEST

public static final String RETARGET_CARET_REQUEST
See Also:
Constant Field Values

LEFT

public static final String LEFT
See Also:
Constant Field Values

RIGHT

public static final String RIGHT
See Also:
Constant Field Values

UP

public static final String UP
See Also:
Constant Field Values

DOWN

public static final String DOWN
See Also:
Constant Field Values

HOME

public static final String HOME
See Also:
Constant Field Values

END

public static final String END
See Also:
Constant Field Values

TEXT_SELECT

public static final String TEXT_SELECT
See Also:
Constant Field Values

START_DRAG

public static final int START_DRAG
See Also:
Constant Field Values

DRAGGING

public static final int DRAGGING
See Also:
Constant Field Values

FINISH_DRAG

public static final int FINISH_DRAG
See Also:
Constant Field Values
Constructor Detail

RequestConstants

public RequestConstants()
Method Detail

isDirection

public static boolean isDirection(String s)
Parameters:
s - String to check
Returns:
true if iouted string is direction


Copyright © 2003-2006 null. All Rights Reserved.