Client
[ class tree: Client ] [ index: Client ] [ all elements ]

Class: JsToolAttributes

Source Location: /client/ClientPlugin.php

Class Overview


Class used by ToolDescription, to specify javascript related attributes for tools.


Variables

Constants

Methods



Class Details

[line 30]
Class used by ToolDescription, to specify javascript related attributes for tools.



[ Top ]


Class Variables

$action =

[line 61]



Tags:

access:  public

Type:   int


[ Top ]

$cursorStyle =

[line 56]



Tags:

access:  public

Type:   int


[ Top ]

$shapeType =

[line 51]



Tags:

access:  public

Type:   int


[ Top ]



Class Methods


method getActionString [line 112]

string getActionString( )

Returns action string identification



Tags:

return:  action id
access:  public


[ Top ]

method getCursorStyleString [line 97]

string getCursorStyleString( )

Returns cursor string identification



Tags:

return:  cursor id
access:  public


[ Top ]

method getShapeTypeString [line 81]

string getShapeTypeString( )

Returns shape string identification



Tags:

return:  shape id
access:  public


[ Top ]

constructor __construct [line 69]

JsToolAttributes __construct( int $shapeType, [int $cursorStyle = self::CURSOR_CROSSHAIR], [int $action = self::ACTION_SUBMIT], [mixed $jsFunction = ''])

Constructor



Tags:

access:  public


Parameters:

int   $shapeType  
int   $cursorStyle  
int   $action  

[ Top ]


Class Constants

ACTION_JAVASCRIPT =  3

[line 46]


[ Top ]

ACTION_MEASURE =  2

[line 45]


[ Top ]

ACTION_SUBMIT =  1

[line 44]


[ Top ]

CURSOR_CROSSHAIR =  1

[line 38]


[ Top ]

CURSOR_HELP =  2

[line 39]


[ Top ]

CURSOR_MOVE =  3

[line 40]


[ Top ]

CURSOR_NRESIZE =  5

[line 42]


[ Top ]

CURSOR_WAIT =  4

[line 41]


[ Top ]

SHAPE_LINE =  3

[line 33]


[ Top ]

SHAPE_PAN =  4

[line 34]


[ Top ]

SHAPE_POINT =  2

[line 32]


[ Top ]

SHAPE_POLYGON =  5

[line 35]


[ Top ]

SHAPE_RECTANGLE =  1

[line 31]


[ Top ]

SHAPE_RECTANGLE_OR_POINT =  6

[line 36]


[ Top ]



Documentation generated on Wed, 6 Apr 2005 12:06:34 +0200 by phpDocumentor 1.3.0RC3