Recent Changes - Search:

Information

Installation

Documentation

 

Html View Element Interface

A interface element is an abstract class (that is, that can not be created by itself - and hence is not in the palette of elements), parent of all interface elements. This means that properties below are inherited by all (interface) children classes.

Properties

ElementInterface  
Name Description Values accepted Default
Background The background color for the element. Use the editor provided or input a String with any valid CSS color.
CSS CSS properties. An object with a collection of comma-separated “property”:”value” pairs. Such as { “border”:”1px solid red”, “cursor”:”crosshair” }.
Font The font used to display text in the element. Use the editor provided to select name, style and size of the font.
Foreground The color to use when drawing or writing in the element. Use the editor provided or input a String with any valid CSS color.
Height The vertical size of the element. An int for the size in pixels, or a String with a percentage of the parent size (such as “50%”) or any valid HTML size value. “auto”
TextAlign The horizontal alignment of the text. Type one of the allowed values or use the editor to make a choice. “center”
Tooltip Text displayed when the mouse is over the element. A string constant or variable.
VerticalAlign The vertical alignment of the text. Type one of the allowed values. “baseline”
Visibility The visibility of the element. A boolean variable or one of the constants true or false. true
Width The horizontal size of the element. An int for the size in pixels, or a String with a percentage of the parent size (such as “50%”) or any valid HTML size value. “auto”
Edit - History - Print - Recent Changes - Search
Page last modified on May 14, 2013, at 08:06 AM