Recent Changes - Search:

Information

Installation

Documentation

 

Text set (deprecated)

Set of Text Labels.

 

Properties

TextSet  
Number of elements  
Name Description Values accepted Default
#Elements The number of elements in the set. An integer value.
Position and Size  
Name Description Values accepted Default
Pos X The X coordinate for the element. A constant or variable of type double,int or double[].
Pos Y The Y coordinate for the element. A constant or variable of type double,int or double[].
Position Array The double[] array with the coordinates of the element. A matrix with double values.
Visibility and Interaction  
Name Description Values accepted Default
Visible The visibility of the element. A boolean variable or a boolean array with true or false values.
Measured Whether the element affects its parent panel’s autoscaling. A boolean variable or one of the constants true or false.
Draggable Whether the element can be dragged. A boolean variable or a boolean array with true or false values.
Interaction Index The index of the element affected by the interaction. A integer value.
On Press The action to invoke when the element is pressed. The Java code to invoke for the action.
On Drag The action to invoke when the element is dragged. The Java code to invoke for the action.
On Release The action to invoke when the element is released. The Java code to invoke for the action.
On Enter The action to invoke when the mouse enters the element. The Java code to invoke for the action.
On Exit The action to invoke when the mouse leaves the element. The Java code to invoke for the action.
Graphical Aspect  
Name Description Values accepted Default
Text The text to display. A text in a string variable or within “ “. Use an array of strings to assign different text to each element.
Offset The exact drawing position relative to the element’s coordinates. Use the editor provided or read about positions.
Rotate The (counter-clockwise)rotation angle to apply to the element. A constant or variable of type double or int. Use an array to each element of the set.
Fill Color The color used to fill the element. Use the editor provided or read about colors. The special value null draws a hollow element. Use an array to assing a color to each element.
Font Font to display the text. Avalaible fonts of the underlying operation system.  Use an array to assign different fonts to each element.

 



Edit - History - Print - Recent Changes - Search
Page last modified on November 08, 2010, at 12:35 PM