| |
F3 Classes
AbstractPathElement
class AbstractPathElement {
protected attribute path: Path;
}
Subclasses: PathElement , Shape |
Accelerator
class Accelerator {
public attribute modifier: KeyModifier*;
public attribute keyStroke: KeyStroke;
}
ActionWidget
Interface for widget's that perform actions.
class ActionWidget {
public attribute action: function():*;
Operation or function which implements this widget's action.
}
Subclasses: Button |
Add
Area operation that adds the shape ofshape2
to the shape ofshape1
. Addition is achieved through union.
class Add extends Area {
}
Alignment
class Alignment {
public attribute name: String;
public attribute id: Number;
}
Enumerated Values: BASELINE, CENTER, LEADING, TRAILING
Anchor
class Anchor {
public attribute id: Number;
public attribute name: String;
}
Enumerated Values: CENTER, EAST, FIRST_LINE_END, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START, LINE_START, NORTH, NORTHEAST, NORTHWEST, PAGE_END, PAGE_START, SOUTH, SOUTHEAST, SOUTHWEST, WEST
Applet
class Applet extends Widget {
private attribute applet: JApplet;
public attribute menubar: MenuBar?;
public attribute content: Widget;
}
Enumerated Values: APPLICATION
Arc
class Arc extends Shape {
private attribute zarc: ZArc;
public attribute x: Number;
public attribute y: Number;
public attribute width: Number;
public attribute height: Number;
public attribute startAngle: Number;
public attribute length: Number;
public attribute closure: ArcClosure;
}
ArcClosure
class ArcClosure {
public attribute id: Number;
public attribute name: String;
}
Enumerated Values: CHORD, OPEN, PIE
Area
TheArea
class is a device-independent specification of an arbitrarily-shaped area. TheArea
object is defined as an object that performs certain binary CAG (Constructive Area Geometry) operations on other area-enclosing geometries, such as rectangles, ellipses, and polygons. The CAG operations are Add(union), Subtract, Intersect, and ExclusiveOR. For example, anArea
can be made up of the area of a rectangle minus the area of an ellipse. This is an abstract class. The specific operations are provided by subclasses of Area:Add
,Subtract
,Intersect
, andXOR
.
class Area extends Shape {
public attribute shape1: Shape?;
the shape which is the first operand to this area operation
public attribute shape2: Shape?;
the shape which is the second operand to this area operation
}
Assertion
class Assertion {
public attribute description: String*;
public attribute sourceURL: String?;
public attribute lineNumber: Number;
public attribute assertion: String;
public attribute result: Boolean;
}
Attribute
class Attribute {
public attribute Scope: Class?;
public attribute Public: Boolean;
public attribute Private: Boolean;
public attribute Protected: Boolean;
public attribute Name: String;
public attribute Documentation: String?;
public attribute Type: Class?;
public attribute Inverse: Attribute*;
public attribute OneToOne: Boolean;
public attribute ManyToOne: Boolean;
public attribute OneToMany: Boolean;
public attribute ManyToMany: Boolean;
public attribute Optional: Boolean;
public attribute Part: Boolean;
public attribute Readonly: Boolean;
}
BevelBorder
class BevelBorder extends Border {
public attribute style: BevelType;
public attribute highlight: Color;
public attribute shadow: Color;
public attribute innerHighlight: Color?;
public attribute innerShadow: Color?;
}
Subclasses: SoftBevelBorder |
BevelType
class BevelType {
public attribute id: Number;
public attribute name: String;
}
Enumerated Values: LOWERED, RAISED
Border
class Border {
}
Subclasses: BevelBorder , CompoundBorder , EmptyBorder , EtchedBorder , LineBorder , MatteBorder , ShadowedBorder , TitledBorder |
BorderPanel
class BorderPanel extends Widget {
private attribute jpanel: JPanel;
public attribute top: Widget?;
public attribute left: Widget?;
public attribute bottom: Widget?;
public attribute right: Widget?;
public attribute center: Widget?;
}
Box
class Box extends Widget {
private attribute box: JPanel;
public attribute orientation: Orientation;
public attribute content: Widget*;
}
BrushedMetal
class BrushedMetal extends Filter {
protected attribute brushedMetalFilter: BrushedMetalFilter;
public attribute monochrome: Boolean;
}
Button
An implementation of a "push" button. Encapsulates javax.swing.JButton.
class Button extends Widget, RotatableWidget, ActionWidget {
private attribute button: XButton;
public attribute defaultButton: Boolean?;
Determines whether this is the default button within a dialog.
public attribute defaultCancelButton: Boolean?;
Determines whether this is the default cancel button within a dialog.
public attribute text: String?;
Sets this button's text.
public attribute mnemonic: KeyStroke?;
Sets this button's mnemonic.
public attribute icon: Icon?;
Sets this button's default icon.
public attribute selectedIcon: Icon?;
Sets this button's selected icon.
public attribute pressedIcon: Icon?;
Sets this button's pressed icon.
public attribute rolloverIcon: Icon?;
Sets this button's rollover icon.
public attribute rolloverSelectedIcon: Icon?;
Sets this button's selected rollover icon.
public attribute rolloverEnabled: Boolean;
Sets whether rollover effects are enabled for this button. Defaults to true.
public attribute disabledIcon: Icon?;
Sets this button's disabled icon.
public attribute disabledSelectedIcon: Icon?;
Sets this button's disabled selected icon.
public attribute iconTextGap: Number?;
Sets the amount of space between the text and the icon
displayed in this button.
public attribute contentAreaFilled: Boolean?;
Sets whether this button will paint the content
area. If you wish to have a transparent button, such as
an icon-only button, for example, then you should set
this to false
. Defaults to true
.
public attribute focusPainted: Boolean?;
Sets whether the focus state is painted for this button.
The default value for the focusPainted
attribute
is true
.
Some look and feels might not paint focus state;
they will ignore this property.
public attribute borderPainted: Boolean?;
Sets whether (if this button has a border) the border is painted.
Defaults to true.
public attribute margin: Insets?;
Sets space for margin between this button's border and
the label. Setting to null
will cause this button to
use the default margin. The button's default Border
object will use this value to create the proper margin.
However, if a non-default border is set on the button,
it is that Border
object's responsibility to create the
appropriate margin space (else this property will
effectively be ignored).
public attribute horizontalTextPosition: HorizontalAlignment?;
Sets the horizontal position of the text relative to the icon.
One of the following values:
public attribute verticalTextPosition: VerticalAlignment?;
Sets the vertical position of the text relative to the icon.
One of the following values:
- CENTER (the default)
- TOP
- BOTTOM
- CENTER (the default)
public attribute horizontalAlignment: HorizontalAlignment?;
Sets the horizontal alignment of the the icon and text.
One of the following values:
- CENTER
- LEADING
- TRAILING (the default)
public attribute verticalAlignment: VerticalAlignment?;
Sets the vertical alignment of the icon and text.
One of the following values:
- CENTER (the default)
- TOP
- BOTTOM
}
- CENTER
- LEADING
- TRAILING (the default)
ButtonGroup
class ButtonGroup {
private attribute buttongroup: ButtonGroup;
public attribute buttons: SelectableButton*;
public attribute selection: Number?;
public attribute onSelectionChange: function(f3.ui.SingleSelection,f3.ui.SingleSelection):*;
}
Canvas
class Canvas extends Widget, CanvasElement, Container {
protected attribute scaleToFitList: Node*;
protected attribute sizeToFitList: SizeableCanvasElement*;
protected attribute zcanvas: ZCanvas;
protected attribute root: ZTransformGroup;
private attribute logRepaint: Boolean;
protected attribute focusRect: Rect?;
protected attribute focusBounds: ZBounds?;
protected attribute focusedNode: Node?;
public attribute content: Node*;
public attribute scaleToFit: Boolean;
public attribute viewport: CanvasViewport;
public attribute onDrop: function(f3.ui.canvas.CanvasDropEvent):*?;
Optional handler called when the user drops an object into this canvas.
public attribute onDragEnter: function(f3.ui.canvas.CanvasDropEvent):*?;
public attribute onDragExit: function(f3.ui.canvas.CanvasDropEvent):*?;
public attribute dropType: Class?;
Optional filter for the types of objects that may be dropped into this
canvas.
public attribute canAcceptDrop: function(f3.ui.canvas.CanvasDropEvent):Boolean?;
attribute acceptDrop: function(e:CanvasDropEvent): Boolean
Optional handler called when the user drops an object into this canvas.
If it returns false, the drop is rejected.
public attribute dragNode: Node;
public attribute dragValue: ;
public attribute dropTargetNode: Node?;
}
CanvasCursor
class CanvasCursor extends Cursor {
private attribute canvas: Canvas;
public attribute content: Node?;
public attribute x: Number;
public attribute y: Number;
}
CanvasDropEvent
class CanvasDropEvent extends DropEvent {
public attribute localX: Number;
public attribute localY: Number;
}
CanvasElement
Abstract interface of objects that appear in a canvas.
class CanvasElement {
protected attribute parentCanvasElement: CanvasElement?;
The containing element of this element.
}
Subclasses: Canvas , Node , SizeableCanvasElement |
CanvasIcon
class CanvasIcon extends Icon {
private attribute canvas: Canvas;
public attribute content: Node*;
}
CanvasImage
class CanvasImage extends Image {
private attribute canvasIcon: Icon?;
private attribute canvas: Canvas;
private attribute imageUrl: String?;
public attribute content: Node;
}
CanvasMouseEvent
class CanvasMouseEvent {
public attribute clickCount: Number;
public attribute button: Integer;
public attribute localX: Number;
public attribute localY: Number;
public attribute x: Number;
public attribute y: Number;
public attribute dragTranslation: XY?;
public attribute localDragTranslation: XY?;
public attribute percolate: Boolean;
protected attribute source: ZMouseEvent;
}
CanvasViewport
class CanvasViewport {
public attribute currentHeight: Number;
public attribute currentWidth: Number;
public attribute currentSize: Dimension;
}
CardPanel
class CardPanel extends Widget {
protected attribute selectionGeneration: Number;
private attribute jpanel: JPanel;
private attribute layout: CardLayout;
public attribute selection: Number;
public attribute cards: Widget*;
}
CheckBox
class CheckBox extends Widget {
private attribute jcheckbox: JCheckBox;
public attribute text: String;
public attribute mnemonic: KeyStroke?;
public attribute icon: Icon?;
public attribute selectedIcon: Icon?;
public attribute pressedIcon: Icon?;
public attribute rolloverIcon: Icon?;
public attribute rolloverSelectedIcon: Icon?;
public attribute disabledIcon: Icon?;
public attribute disabledSelectedIcon: Icon?;
public attribute iconTextGap: Number?;
public attribute contentAreaFilled: Boolean?;
public attribute focusPainted: Boolean?;
public attribute borderPainted: Boolean?;
public attribute borderPaintedFlat: Boolean?;
public attribute action: function():*;
public attribute selected: Boolean;
public attribute margin: Insets?;
public attribute horizontalTextPosition: HorizontalAlignment?;
public attribute verticalTextPosition: VerticalAlignment?;
}
CheckBoxMenuItem
class CheckBoxMenuItem extends MenuItem {
private attribute jcheckboxmenuitem: JCheckBoxMenuItem;
public attribute selected: Boolean;
public attribute onChange: function(Boolean):*;
}
Chrome
class Chrome extends LightFilter {
protected attribute chromeFilter: ChromeFilter;
public attribute amount: Number;
public attribute exposure: Number;
}
Circle
The Circle
class describes a circle that is defined
by a center point (cx, cy), and a radius (radius).
class Circle extends Shape {
private attribute zellipse: ZEllipse;
public attribute cx: Number;
The x coordinate of the center point of this circle.
public attribute cy: Number;
The y coordinate of the center point of this circle.
public attribute radius: Number;
The radius of this circle.
}
Class
class Class {
public attribute Operations: Operation*;
public attribute Native: Boolean;
public attribute Abstract: Boolean;
public attribute Public: Boolean;
public attribute Private: Boolean;
public attribute Protected: Boolean;
public attribute Name: String;
public attribute Documentation: String?;
public attribute Superclasses: Class*;
public attribute Subclasses: Class*;
public attribute Attributes: Attribute*;
}
Subclasses: Operation |
Clip
A Group node that provides an arbitrary clipping region. Only the subset
of its content that intersects its shape
attribute
will be painted.
class Clip extends Node, Container {
private attribute cg: ZClipGroup;
private attribute childGroup: ZGroup;
public attribute shape: Node?;
Sets the shape that defines the visible region of the content
public attribute content: Node*;
The content of this node
public attribute antialias: Boolean?;
If true then clipping will be implemented using alpha composites onto an intermediate image. Defaults to false *
}
ClipPanel
class ClipPanel extends Widget {
private attribute p: JPanel;
public attribute content: Widget;
public attribute clipWidth: Number;
public attribute clipHeight: Number;
public attribute fullHeight: Number;
public attribute fullWidth: Number;
}
ClosePath
Closes the current subpath by drawing a straight line back to
the coordinates of the last MoveTo
. If the path is already
closed then it has no effect.
class ClosePath extends PathElement {
}
Color
class Color extends AbstractColor {
public attribute red: Number;
public attribute green: Number;
public attribute blue: Number;
public attribute opacity: Number;
}
Enumerated Values: DISCRETE, EASEBOTH, EASEIN, EASEOUT, LINEAR, aliceblue, antiquewhite, aqua, aquamarine, azure, beige, bisque, black, blanchedalmond, blue, blueviolet, brown, burlywood, cadetblue, chartreuse, chocolate, coral, cornflowerblue, cornsilk, crimson, cyan, darkblue, darkcyan, darkgoldenrod, darkgray, darkgreen, darkkhaki, darkmagenta, darkolivegreen, darkorange, darkorchid, darkred, darksalmon, darkseagreen, darkslateblue, darkslategray, darkturquoise, darkviolet, deeppink, deepskyblue, dimgray, dodgerblue, firebrick, floralwhite, forestgreen, fromAWTColor, fuchsia, gainsboro, ghostwhite, gold, goldenrod, gray, green, greenyellow, grey, honeydew, hotpink, indianred, indigo, ivory, khaki, lavender, lavenderblush, lawngreen, lemonchiffon, lightGray, lightblue, lightcoral, lightcyan, lightgoldenrodyellow, lightgreen, lightgrey, lightpink, lightsalmon, lightseagreen, lightskyblue, lightslategray, lightsteelblue, lightyellow, lime, limegreen, linen, magenta, maroon, mediumaquamarine, mediumblue, mediumorchid, mediumpurple, mediumseagreen, mediumslateblue, mediumspringgreen, mediumturquoise, mediumvioletred, midnightblue, mintcream, mistyrose, moccasin, navajowhite, navy, oldlace, olive, olivedrab, orange, orangered, orchid, palegoldenrod, palegreen, paleturquoise, palevioletred, papayawhip, peachpuff, peru, pink, plum, powderblue, purple, red, rosybrown, royalblue, saddlebrown, salmon, sandybrown, seagreen, seashell, sienna, silver, skyblue, slateblue, slategray, snow, springgreen, steelblue, tan, teal, thistle, tomato, transparent, turquoise, violet, wheat, white, whitesmoke, yellow, yellowgreen
ColorChooser
class ColorChooser extends Widget {
private attribute jcolorchooser: JColorChooser;
public attribute showDialog: Boolean;
public attribute action: function(f3.ui.Color):*;
public attribute title: String;
public attribute owner: UIElement?;
public attribute initialColor: Color;
public attribute selectedColor: Color;
}
Column
class Column extends ParallelGroup {
}
ComboBox
class ComboBox extends Widget {
private attribute listeners: ListDataListener*;
private attribute jcombobox: JComboBox;
public attribute cells: ComboBoxCell*;
public attribute selection: Number;
public attribute editable: Boolean?;
public attribute lightweightPopupEnabled: Boolean?;
public attribute maximumRowCount: Number?;
public attribute action: function():*?;
public attribute value: String?;
}
ComboBoxCell
class ComboBoxCell {
protected attribute combobox: ComboBox;
public attribute value: ;
public attribute text: String;
public attribute toolTipText: String?;
}
CompositeNode
Abstract base class for user-defined Node's. You can create your
own node classes by extending this class and implementing its
composeNode()
method.
class CompositeNode extends Node {
private attribute __composite__: Node;
}
CompositeTransform
class CompositeTransform extends Transform {
public attribute transforms: Transform*;
private attribute txs: AffineTransform*;
}
CompositeWidget
class CompositeWidget extends Widget {
private attribute __panel__: JPanel;
private attribute __composite__: Widget;
}
CompoundBorder
class CompoundBorder extends Border {
public attribute borders: Border*;
}
ContentType
class ContentType {
public attribute mimeType: String;
}
Enumerated Values: HTML, PLAIN_TEXT, RTF
Convolve
class Convolve extends Filter {
public attribute convolveOp: ConvolveOp;
public attribute width: Integer;
public attribute height: Integer;
public attribute data: Number*;
}
ConvolveFilter
class ConvolveFilter extends Filter {
protected attribute convolveFilter: ConvolveFilter;
public attribute edgeAction: EdgeAction?;
}
Subclasses: GaussianBlur |
CubicCurve
The CubicCurve
class defines a cubic parametric curve
segment by means of a start point (x1, y1), two control points,
(ctrlx1, ctrly1), (ctrlx2, ctrly2), and an end point (x2, y2).
class CubicCurve extends Shape {
private attribute zcubiccurve: ZCubicCurve;
public attribute x1: Number;
The x coordinate of the start point of this cubic curve.
public attribute y1: Number;
The y coordinate of the start point of this cubic curve.
public attribute ctrlx1: Number;
The x coordinate of the first control point of this cubic curve.
public attribute ctrly1: Number;
The y coordinate of the first control point of this cubic curve.
public attribute ctrlx2: Number;
The x coordinate of the second control point of this cubic curve.
public attribute ctrly2: Number;
The y coordinate of the second control point of this cubic curve.
public attribute x2: Number;
The x coordinate of the endpoint of this cubic curve
public attribute y2: Number;
The y coordinate of the endpoint of this cubic curve
}
Cursor
class Cursor {
protected attribute awtCursor: Cursor;
}
Enumerated Values: CROSSHAIR, DEFAULT, E_RESIZE, HAND, H_RESIZE, MOVE, NE_RESIZE, NW_RESIZE, N_RESIZE, SE_RESIZE, SW_RESIZE, S_RESIZE, TEXT, V_RESIZE, WAIT, W_RESIZE
Subclasses: CanvasCursor |
CurveTo
Adds a curved segment, defined by three new points, to the path by drawing a Bézier curve that intersects both the current coordinates and the coordinates (x3, y3), using the specified points (x1, y1) and (x2, y2) as Bézier control points.
class CurveTo extends PathElement {
public attribute smooth: Boolean;
public attribute x1: Number;
the x coordinate of the first Béezier
control point
public attribute y1: Number;
the y coordinate of the first Béezier
control point
public attribute x2: Number;
the x coordinate of the second Béezier
control point
public attribute y2: Number;
the y coordinate of the second Béezier
control point
public attribute x3: Number;
the x coordinate of the final endpoint
public attribute y3: Number;
the y coordinate of the final endpoint
}
DesktopPane
class DesktopPane extends Widget {
private attribute jdesk: JDesktopPane;
public attribute dragMode: InternalFrameDragMode;
public attribute frames: InternalFrame*;
public attribute cascaded: Boolean;
public attribute tiled: Boolean;
}
Dialog
class Dialog extends AbstractFrame {
private attribute jdialog: JDialog;
private attribute p: JPanel;
private attribute buttonpanel: JPanel;
public attribute modal: Boolean?;
public attribute owner: UIElement;
public attribute title: String;
public attribute content: Widget;
public attribute buttons: Button*;
public attribute height: Number?;
public attribute width: Number?;
public attribute border: Border;
public attribute visible: Boolean;
public attribute onClose: function():*;
}
DropEvent
class DropEvent {
public attribute x: Number;
public attribute y: Number;
public attribute transferData: *;
}
Subclasses: CanvasDropEvent , ListDropEvent |
EdgeAction
class EdgeAction {
public attribute id: Integer;
}
Enumerated Values: CLAMP, WRAP, ZERO
EditorPane
class EditorPane extends ScrollableWidget {
private attribute inUpdate: Boolean;
private attribute documentListener: DocumentListener;
private attribute jeditorpane: JEditorPane;
public attribute editable: Boolean?;
public attribute text: String;
public attribute honorDisplayProperties: Boolean;
public attribute margin: Insets?;
public attribute contentType: ContentType?;
public attribute editorKit: EditorKit?;
}
Ellipse
The Ellipse
class describes an ellipse that is defined
by a center point (cx, cy), a horizontal radius (radiusX), and a vertical
radius (radiusY).
class Ellipse extends Shape {
private attribute zellipse: ZEllipse;
public attribute cx: Number;
the x coordinate of the center point of this ellipse.
public attribute cy: Number;
the y coordinate of the center point of this ellipse.
public attribute radiusX: Number;
the horizontal radius of this ellipse.
public attribute radiusY: Number;
the vertical radius of this ellipse.
}
EmptyBorder
class EmptyBorder extends Border {
public attribute top: Number;
public attribute left: Number;
public attribute bottom: Number;
public attribute right: Number;
}
EtchType
class EtchType {
public attribute id: Number;
public attribute name: String;
}
Enumerated Values: LOWERED, RAISED
EtchedBorder
class EtchedBorder extends Border {
public attribute style: EtchType;
public attribute highlight: Color?;
public attribute shadow: Color?;
}
FileChooser
class FileChooser extends Widget {
private attribute propertyChangeListener: PropertyChangeListener;
private attribute filechooser: JFileChooser;
public attribute cwd: File?;
public attribute fileFilters: FileFilter*;
public attribute title: String;
public attribute files: Boolean?;
public attribute directories: Boolean?;
public attribute action: function(java.io.File):*;
public attribute selectedFile: File?;
public attribute accessory: Widget?;
public attribute controlButtonsAreShown: Boolean;
}
FileFilter
class FileFilter {
public attribute filter: function(java.io.File):Boolean;
public attribute description: String;
}
Fill
class Fill {
public attribute id: Number;
public attribute name: String;
}
Enumerated Values: BOTH, HORIZONTAL, NONE, VERTICAL
FillRule
class FillRule {
public attribute name: String;
public attribute id: Number;
}
Enumerated Values: EVEN_ODD, NON_ZERO
Filter
class Filter {
protected attribute bufferedImageOp: BufferedImageOp;
}
Subclasses: BrushedMetal , Convolve , ConvolveFilter , Glow , Identity , LightFilter , MotionBlur , Noise , ScaleFilter , ShadowFilter , ShapeBurst , TextureFilter |
FlowPanel
class FlowPanel extends Widget {
private attribute panel: JPanel;
private attribute layout: FlowLayout;
public attribute alignment: Alignment;
public attribute vgap: Number;
public attribute hgap: Number;
public attribute content: Widget*;
}
Font
class Font {
public attribute face: FontFace?;
public attribute faceName: String?;
public attribute size: Number;
public attribute style: FontStyle*;
}
FontFace
class FontFace {
public attribute url: String?;
public attribute id: String;
}
Enumerated Values: ALBANY, ANDALE_SANS, ANDALE_SANS_UI, ARIAL, ARIAL_BLACK, ARIAL_NARROW, ARIAL_UNICODE_MS, BITSTREAM_VERA_SANS, BITSTREAM_VERA_SANS_MONO, BITSTREAM_VERA_SERIF, BOOKMAN_OLD_STYLE, BOOKSHELF_SYMBOL_7, BOOK_ANTIQUA, BROADWAY, CENTURY, CENTURY_GOTHIC, COMIC_SANS_MS, COURIER_NEW, CUMBERLAND, DIALOG, DIALOGINPUT, ESTRANGELO_EDESSA, FRANKLIN_GOTHIC_MEDIUM, GARAMOND, GAUTAMI, GEORGIA, IMPACT, IMPRINT_MT_SHADOW, KARTIKA, KIDPRINT, LATHA, LUCIDA_CONSOLE, LUCIDA_SANS, LUCIDA_SANS_UNICODE, MANGAL, MARLETT, MICROSOFT_SANS_SERIF, MONOSPACED, MONOTYPE_CORSIVA, MS_OUTLOOK, MS_REFERENCE_SANS_SERIF, MS_REFERENCE_SPECIALTY, MV_BOLI, PALACE_SCRIPT, PALACE_SCRIPT_MT, PALATINO_LINOTYPE, RAAVI, SANSSERIF, SERIF, SHEFFIELD, SHRUTI, STARSYMBOL, SYLFAEN, SYMBOL, TAHOMA, THORNDALE, TIMES_NEW_ROMAN, TREBUCHET_MS, TUNGA, VERDANA, VRINDA, WEBDINGS, WINGDINGS, WINGDINGS_2, WINGDINGS_3, ZWADOBEF
FontStyle
class FontStyle {
public attribute id: Integer;
public attribute name: String;
}
Enumerated Values: BOLD, ITALIC, PLAIN
Frame
A Frame
is a top-level window with a title and a border,
and an optional menu bar.
class Frame extends AbstractFrame {
private attribute winListener: WindowListener;
private attribute compListener: ComponentListener;
private attribute frame: JFrame;
private attribute inListener: Boolean;
public attribute disposeOnClose: Boolean;
public attribute owner: UIElement?;
public attribute screenx: Number?;
public attribute screeny: Number?;
public attribute menubar: MenuBar?;
public attribute content: Widget;
public attribute dispose: Boolean;
public attribute title: String;
This is the title of the frame. It can be changed
at any time.
public attribute height: Number?;
public attribute width: Number?;
public attribute onClose: function():*;
public attribute centerOnScreen: Boolean;
public attribute background: Color?;
public attribute visible: Boolean;
Makes the frame visible or invisible. Frame's are initially invisible.
You must explicitly assign true
to this attribute to make the frame
visible on the screen.
public attribute resizable: Boolean;
This field indicates whether the frame is resizable.
This property can be changed at any time.
resizable
will be true if the frame is
resizable, otherwise it will be false.
public attribute iconImage: Image?;
The icon image for this frame, or null
if this frame doesn't have an icon image.
public attribute undecorated: Boolean;
Disables or enables decorations for this frame.
This attribute can only be set while the frame is not displayable.
public attribute showing: Boolean;
public attribute iconified: Boolean;
}
Gap
class Gap extends GroupElement {
public attribute vsize: Number?;
public attribute hsize: Number?;
}
GaussianBlur
class GaussianBlur extends ConvolveFilter {
protected attribute gaussianFilter: GaussianFilter;
public attribute radius: Number;
}
Glow
class Glow extends Filter {
protected attribute glowFilter: GlowFilter?;
public attribute amount: Number;
}
Gradient
class Gradient extends AbstractColor, Transformable {
public attribute stops: Stop*;
The ramp of colors to use on this gradient
public attribute spreadMethod: SpreadMethod;
public attribute gradientUnits: GradientUnits;
protected attribute holders: StopHolder*;
protected attribute stopCount: Number;
}
Subclasses: LinearGradient , RadialGradient |
GradientUnits
class GradientUnits {
public attribute name: String;
public attribute id: MultipleGradientPaint$GradientUnits;
}
Enumerated Values: OBJECT_BOUNDING_BOX, USER_SPACE_ON_USE
GridBagPanel
class GridBagPanel extends Widget {
private attribute jpanel: JPanel;
public attribute cells: GridCell*;
}
GridCell
class GridCell {
protected attribute constraint: GridBagConstraints;
public attribute insets: Insets?;
public attribute anchor: Anchor;
public attribute gridwidth: Number;
public attribute gridheight: Number;
public attribute gridx: Number;
public attribute gridy: Number;
public attribute fill: Fill;
public attribute weightx: Number;
public attribute weighty: Number;
public attribute ipadx: Number;
public attribute ipady: Number;
public attribute content: Widget;
}
GridPanel
class GridPanel extends Widget {
private attribute jpanel: JPanel;
private attribute layout: GridLayout;
public attribute rows: Number;
public attribute columns: Number;
public attribute hgap: Number?;
public attribute vgap: Number?;
public attribute cells: Widget*;
}
Group
Non-visual node that defines a new coordinate space for its child nodes.
class Group extends Node, Container {
private attribute group: ZGroup?;
The child members of this group
public attribute content: Node*;
}
GroupElement
Abstract base class for elements that participate in Group layout.
class GroupElement {
public attribute horizontal: Spring?;
Optional horizontal spring that determines the horizontal resizing behavior of this element when contained in a GroupLayout.
public attribute vertical: Spring?;
Optional vertical spring that determines the vertical resizing behavior of this element when contained in a GroupLayout.
public attribute row: Row?;
The row this element is contained in within a GroupLayout.
public attribute column: Column?;
The column this element is contained in within a GroupLayout.
}
Subclasses: Gap , GroupLayout , Widget |
GroupLayout
Interface for elements that perform group layout.
class GroupLayout extends GroupElement {
public attribute valign: Alignment;
Vertical alignment of the contained elements. Defaults to BASELINE.
public attribute halign: Alignment;
Horizontal alignment of the contained elements. Defaults to LEADING.
public attribute rows: Row*;
The row definitions for this layout.
public attribute columns: Column*;
The column definitions for this layout.
public attribute content: GroupElement*;
The contents of this layout.
}
Subclasses: GroupPanel |
GroupPanel
Container which provides Group layout. You layout its content by creating row and column definitions, and then assigning the contained elementsrow
andcolumn
attributes.
class GroupPanel extends Widget, GroupLayout {
private attribute panel: JPanel;
private attribute layout: GroupLayout;
public attribute autoCreateGaps: Boolean;
Determines whether to automatically create gaps between elements
based on platform specific UI guidelines. Defaults to true.
public attribute autoCreateContainerGaps: Boolean;
Determines whether to automatically create container gaps between
contained elements and this object based on platform specific UI
guidelines. Defaults to true.
}
HLine
Draws a horizontal line from the current point to x.
class HLine extends PathElement {
public attribute x: Number*;
}
HorizontalAlignment
Provides enumerated values for component alignment and text position
class HorizontalAlignment {
public attribute id: Number;
public attribute name: String;
}
Enumerated Values: CENTER, LEADING, TRAILING
HorizontalGlue
class HorizontalGlue extends Widget {
}
HorizontalScrollBarPolicy
Provides enumerated constants that determine the visibility of horizontal scrollbars.AS_NEEDED
Used to set the horizontal scroll bar policy so that horizontal scrollbars are displayed only when needed.ALWAYS
Used to set the horizontal scroll bar policy so that horizontal scrollbars are always displayed.NEVER
Used to set the horizontal scroll bar policy so that horizontal scrollbars are never displayed.
class HorizontalScrollBarPolicy {
public attribute id: Number;
}
Enumerated Values: ALWAYS, AS_NEEDED, NEVER
HorizontalStrut
class HorizontalStrut extends Widget {
}
Icon
A small fixed size picture, typically used to decorate components. Encapsulates javax.swing.Icon.
class Icon {
protected attribute icon: Icon;
}
Subclasses: CanvasIcon , Image |
Image
An implementation of the Icon interface that paints Icons from Images. Images are created from a URL
class Image extends Icon {
private attribute notifier: ImageLoadingNotifier;
protected attribute image: Image;
public attribute baseURL: String?;
public attribute preloadIfLocal: Boolean?;
public attribute url: String?;
public attribute size: Dimension?;
public attribute onLoad: function():*;
public attribute stretch: Stretch?;
public attribute stretchDirection: StretchDirection?;
}
Subclasses: CanvasImage |
ImageView
A node that contains an Image.
class ImageView extends Node {
private attribute zimage: ZImage;
private attribute needsScaling: Boolean;
public attribute image: Image?;
public attribute animated: Boolean;
public attribute imageOpacity: Number;
public attribute loaded: Boolean;
public attribute size: Dimension?;
public attribute stretch: Stretch?;
public attribute stretchDirection: StretchDirection?;
public attribute preload: Boolean;
public attribute antialias: Boolean;
}
InfiniteProgressPanel
Romain Guy's glass pane progress panel
class InfiniteProgressPanel extends Widget {
public attribute root: JRootPane;
public attribute backgroundOpacity: Number;
public attribute pane: HiPerfInfiniteProgressPanel;
public attribute progress: Boolean;
public attribute text: String;
public attribute content: Widget;
}
Insets
class Insets {
private attribute awtinsets: Insets;
public attribute top: Number;
public attribute left: Number;
public attribute bottom: Number;
public attribute right: Number;
}
InternalFrame
class InternalFrame extends Widget {
private attribute jinternalframe: JInternalFrame;
public attribute isPalette: Boolean;
public attribute menubar: MenuBar?;
public attribute layer: Number;
public attribute desk: DesktopPane;
public attribute title: String?;
public attribute content: Widget;
public attribute iconifiable: Boolean?;
public attribute closable: Boolean?;
public attribute resizable: Boolean?;
public attribute maximizable: Boolean?;
public attribute onClose: function():*;
public attribute selected: Boolean;
public attribute deselected: Boolean;
}
InternalFrameDragMode
class InternalFrameDragMode {
public attribute id: Number;
}
Enumerated Values: LIVE, OUTLINE
InternalWindow
class InternalWindow extends UIElement {
public attribute contentComponent: JComponent;
public attribute dx: Number;
public attribute dy: Number;
public attribute inBounds: Boolean;
public attribute frame: XInternalFrame;
public attribute glass: JPanel;
public attribute frameBounds: Rectangle;
public attribute oldGlass: Component;
public attribute oldGlassVisible: Boolean;
public attribute sp: ScrollablePanel;
public attribute vp: JViewport;
public attribute modal: Boolean;
public attribute background: Color?;
public attribute anchor: Anchor?;
public attribute icon: Icon;
public attribute owner: UIElement;
public attribute title: String;
public attribute visible: Boolean;
public attribute content: Widget;
public attribute closable: Boolean;
public attribute resizable: Boolean;
public attribute x: Number;
public attribute y: Number;
public attribute width: Number;
public attribute height: Number;
public attribute onClose: function():*;
public attribute fade: Boolean;
public attribute slide: Boolean;
public attribute animationDuration: Number;
public attribute animating: Boolean;
}
Intersect
Area operation that sets the shape of thisArea
to the intersection ofshape1
and
shape2
.
class Intersect extends Area {
}
KeyEvent
class KeyEvent {
public attribute keyStroke: KeyStroke;
public attribute modifiers: KeyStroke*;
public attribute keyChar: String?;
public attribute source: KeyEvent;
}
KeyModifier
class KeyModifier {
public attribute id: Number;
}
Enumerated Values: ALT, CTRL, META, SHIFT
KeyStroke
class KeyStroke {
public attribute description: String;
public attribute id: Number;
public attribute keyChar: String?;
}
Enumerated Values: A, ACCEPT, ADD, AGAIN, ALL_CANDIDATES, ALPHANUMERIC, ALT, ALT_GRAPH, AMPERSAND, ASTERISK, AT, B, BACK_QUOTE, BACK_SLASH, BACK_SPACE, BEGIN, BRACELEFT, BRACERIGHT, C, CANCEL, CAPS_LOCK, CIRCUMFLEX, CLEAR, CLOSE_BRACKET, CODE_INPUT, COLON, COMMA, COMPOSE, CONTEXT_MENU, CONTROL, CONVERT, COPY, CUT, D, DECIMAL, DELETE, DIVIDE, DOLLAR, DOWN, E, END, ENTER, EQUALS, ESCAPE, EURO_SIGN, EXCLAMATION_MARK, F, F1, F10, F11, F12, F13, F14, F15, F16, F17, F18, F19, F2, F20, F21, F22, F23, F24, F3, F4, F5, F6, F7, F8, F9, FINAL, FIND, FULL_WIDTH, G, GREATER, H, HALF_WIDTH, HELP, HIRAGANA, HOME, I, INPUT_METHOD_ON_OFF, INSERT, INVERTED_EXCLAMATION_MARK, J, JAPANESE_HIRAGANA, JAPANESE_KATAKANA, JAPANESE_ROMAN, K, KANA, KANA_LOCK, KANJI, KATAKANA, KP_DOWN, KP_LEFT, KP_RIGHT, KP_UP, L, LEFT, LEFT_PARENTHESIS, LESS, M, META, MINUS, MODECHANGE, MULTIPLY, N, NONCONVERT, NUMBER_SIGN, NUMPAD0, NUMPAD1, NUMPAD2, NUMPAD3, NUMPAD4, NUMPAD5, NUMPAD6, NUMPAD7, NUMPAD8, NUMPAD9, NUM_LOCK, O, OPEN_BRACKET, P, PAGE_DOWN, PAGE_UP, PASTE, PAUSE, PERIOD, PLUS, PREVIOUS_CANDIDATE, PRINTSCREEN, PROPS, Q, QUOTE, QUOTEDBL, R, RIGHT, RIGHT_PARENTHESIS, ROMAN_CHARACTERS, S, SCROLL_LOCK, SEMICOLON, SEPARATER, SEPARATOR, SHIFT, SLASH, SPACE, STOP, SUBTRACT, T, TAB, U, UNDEFINED, UNDERSCORE, UNDO, UP, V, W, WINDOWS, X, Y, Z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9
KeyboardAction
Base class for non-window F3 graphical components Encapsulates javax.swing.JComponent
class KeyboardAction {
public attribute keyStroke: KeyStroke;
public attribute enabled: Boolean;
public attribute action: function():*;
}
Label
class Label extends Widget {
private attribute jlabel: XLabel;
public attribute text: String;
public attribute honorDisplayProperties: Boolean;
}
Lens
Provides a view onto some other part of the scene graph. The node
assigned to the view
attribute will also be rendered
within the bounds of this object and this object's transformations
and/or filters, opacity, etc will be applied to it.
class Lens extends Node {
private attribute lgx: Number;
private attribute lgy: Number;
private attribute nodeListener: ZNodeListener;
private attribute zcamera: ZCamera;
private attribute lg: ZLayerGroup;
private attribute viewBounds: ZBounds?;
protected attribute composite: Composite?;
protected attribute viewComposite: Composite?;
protected attribute fill: Paint?;
public attribute view: Node?;
the object that will be displayed in this lens
}
Light
class Light {
protected attribute jh: LightFilter$Light;
public attribute azimuth: Number;
public attribute elevation: Number;
public attribute intensity: Number;
}
LightFilter
class LightFilter extends Filter {
private attribute lightFilter: LightFilter;
public attribute environmentMap: Image?;
public attribute viewDistance: Number;
public attribute bumpHeight: Number;
public attribute bumpSoftness: Number;
public attribute diffuseColor: Color?;
public attribute specularColor: Color?;
public attribute diffuseReflectivity: Number;
public attribute specularReflectivity: Number;
public attribute ambientIntensity: Number;
public attribute highlight: Number;
public attribute reflectivity: Number;
public attribute light: Light*;
}
Subclasses: Chrome |
Line
Creates a line between the points(x1, y1)
and(x2, y2)
.
class Line extends Shape {
private attribute zline: ZLine;
public attribute x1: Number;
the first point's x coordinate.
public attribute y1: Number;
the first point's y coordinate.
public attribute x2: Number;
the second point's x coordinate.
public attribute y2: Number;
the second point's y coordinate.
}
LineBorder
class LineBorder extends Border {
public attribute thickness: Integer;
public attribute lineColor: Color;
public attribute roundedCorners: Boolean;
}
LineTo
Adds a point to the path by drawing a straight line from the current coordinates to the new specified coordinates (x, y).
class LineTo extends PathElement {
public attribute x: Number;
the x coordinate of the point
public attribute y: Number;
the y coordinate of the point
}
LinearGradient
A linear gradient consists of a continuously smooth color transition along a line from one color to another, possibly followed by additional transitions along the same line to other colors. The values (x1, y1, x2, y2) define the line onto which gradient "stops" are mapped. The values of x1, y1, x2, y2 are numbers between zero and 1, defining percentage offsets with respect to the target bounds that will be painted by this gradient.
class LinearGradient extends Gradient {
public attribute x1: Number;
The x coordinate of the start point of the line.
public attribute y1: Number;
The y coordinate of the start point of the line.
public attribute x2: Number;
The x coordinate of the end point of the line.
public attribute y2: Number;
The y coordinate of the end point of the line.
}
ListBox
A component that allows the user to select one or more objects from a list. Encapsulates javax.swing.JList.
class ListBox extends ScrollableWidget {
private attribute transferHandler: TransferHandler;
private attribute selectedCell: ListCell?;
private attribute updateGeneration: Number;
private attribute selectionGeneration: Number;
private attribute dirty: Boolean;
private attribute keyListener: KeyListener;
private attribute listMouseListener: MouseListener;
private attribute list: JList;
private attribute selectionListener: ListSelectionListener;
private attribute listeners: ListDataListener*;
private attribute listmodel: ListModel;
public attribute enableDND: Boolean;
public attribute locked: Boolean?;
If true the list will not reflect changes to its cells attribute.
When changed back to false synchronization will occur. Can be used
as a performance optimizationwhen when doing large batch updates.
public attribute layoutOrientation: ListLayoutOrientation?;
Defines the way list cells are layed out. Consider a ListBox
with four cells, this can be layed out in one of the following ways:
public attribute selection: Number;
Returns the index of the selected cell or -1 if no cell is selected.
public attribute visibleRowCount: Number?;
Returns the preferred number of visible rows.
public attribute fixedCellHeight: Number?;
If present, sets the height of every cell in the list.
public attribute fixedCellWidth: Number?;
If present, sets the width of every cell in the list.
public attribute cells: ListCell*;
The cells of this list.
private attribute onSelectionChange: function(f3.ui.MultiSelection,f3.ui.MultiSelection):*?;
public attribute action: function():*?;
attribute action: function()?
Optional handler called when the user double-clicks on a list cell or
presses the ENTER key.
public attribute onDrop: function(f3.ui.ListDropEvent):*?;
Optional handler called when the user drops an object into this list.
public attribute dropType: Class?;
Optional filter for the types of objects that may be dropped into this
list.
public attribute canAcceptDrop: function(f3.ui.ListDropEvent):Boolean?;
attribute acceptDrop: function(value): Boolean
Optional handler called when the user drops an object into this list.
If it returns false, the drop is rejected.
}
0
1
2
3
0 1
2 3
0 2
1 3
These correspond to the following values:
Value | Description |
---|---|
VERTICAL | The cells should be layed out vertically in one column. |
HORIZONTAL_WRAP | The cells should be layed out horizontally, wrapping to a new row as necessary. The number of rows to use will either be defined by visibleRowCount if > 0, otherwise thenumber of rows will be determined by the width of the ListBox . |
VERTICAL_WRAP | The cells should be layed out vertically, wrapping to a new column as necessary. The number of rows to use will either be defined by visibleRowCount if > 0, otherwise thenumber of rows will be determined by the height of the ListBox . |
The default value of this property is
VERTICAL
.
ListCell
class ListCell {
protected attribute cacheGeneration: Number;
protected attribute myIndex: Number;
protected attribute listbox: ListBox;
public attribute dragText: String?;
public attribute value: ;
public attribute border: Border?;
public attribute horizontalAlignment: HorizontalAlignment?;
public attribute verticalAlignment: VerticalAlignment?;
public attribute text: String;
public attribute toolTipText: String?;
public attribute selected: Boolean;
}
ListDropEvent
class ListDropEvent extends DropEvent {
public attribute listIndex: Integer;
}
ListLayoutOrientation
class ListLayoutOrientation {
public attribute id: Number;
public attribute name: String;
}
Enumerated Values: HORIZONTAL_WRAP, VERTICAL, VERTICAL_WRAP
Matrix
class Matrix extends Transform {
public attribute a: Number;
public attribute b: Number;
public attribute c: Number;
public attribute d: Number;
public attribute e: Number;
public attribute f: Number;
}
Enumerated Values: matrix
MatteBorder
class MatteBorder extends Border {
public attribute top: Number;
public attribute left: Number;
public attribute bottom: Number;
public attribute right: Number;
public attribute matteColor: Color?;
public attribute tileIcon: Icon?;
}
Menu
class Menu extends AbstractMenuItem {
private attribute origrollover: Boolean;
private attribute origbackground: Color;
private attribute jmenu: JMenu;
public attribute text: String;
public attribute mnemonic: KeyStroke?;
public attribute items: AbstractMenuItem*;
}
MenuBar
class MenuBar extends Widget {
private attribute jmenubar: JMenuBar;
public attribute menus: Menu*;
}
MenuItem
class MenuItem extends AbstractMenuItem {
protected attribute jmenuitem: JMenuItem;
public attribute mnemonic: KeyStroke?;
public attribute accelerator: Accelerator?;
public attribute text: String;
public attribute icon: Icon?;
public attribute action: function():*;
}
Subclasses: CheckBoxMenuItem , RadioButtonMenuItem |
MenuSeparator
class MenuSeparator extends AbstractMenuItem {
private attribute jsep: JSeparator;
}
MessageDialog
class MessageDialog {
public attribute owner: UIElement?;
public attribute messageType: MessageType;
public attribute icon: Icon?;
public attribute title: String;
public attribute message: String;
public attribute visible: Boolean;
public attribute onClose: function():*;
}
MessageType
class MessageType {
public attribute id: Number;
}
Enumerated Values: ERROR, INFORMATION, PLAIN, QUESTION, WARNING
MotionBlur
class MotionBlur extends Filter {
protected attribute motionBlurFilter: MotionBlurFilter;
public attribute distance: Number;
}
MouseEvent
class MouseEvent {
public attribute clickCount: Number;
public attribute button: Number;
public attribute x: Number;
public attribute y: Number;
public attribute source: MouseEvent;
}
MoveTo
Adds a point to the path by moving to the specified coordinates (x, y).
class MoveTo extends PathElement {
public attribute x: Number;
the x coordinate of the point
public attribute y: Number;
the y coordinate of the point
}
MultiSelection
class MultiSelection extends SingleSelection {
public attribute indices: Number*;
}
Subclasses: WidgetInitiatedMultiSelection |
Node
Common base class for all objects that appear in a Canvas.
class Node extends CanvasElement, Transformable {
protected attribute alignmentTransform: AffineTransform?;
protected attribute mouseMotionListener: ZMouseMotionListener;
protected attribute mouseListener: ZMouseListener;
protected attribute tg: ZTransformGroup;
protected attribute fadeGroup: ZFadeGroup;
protected attribute filterGroup: ZFilterGroup;
protected attribute sg: ZNode;
protected attribute _bounds: ZBounds?;
protected attribute bounds: ZBounds?;
public attribute toolTipText: String?;
public attribute selectable: Boolean;
Determines whether this node responds to mouse events, or other picking operations.
public attribute isSelectionRoot: Boolean;
public attribute exportDrag: Boolean;
public attribute filter: Filter*;
An optional list of Filters that will be applied to this node.
If present whenever the content of this node changes a new buffered
image will be created consisting of the result of applying the list of
filters (in order) to the new content. The generated image will then
be used to paint the node.
public attribute opacity: Number?;
A number between 0 and 1, 0 being transparent and 1 opaque.
public attribute scaleToFitCanvas: Boolean;
If true this node will be scaled to the size of its containing canvas.
public attribute halign: HorizontalAlignment?;
Determines the horizontal alignment of this node relative to its origin.
public attribute valign: VerticalAlignment?;
Determines the vertical alignment of this node relative to its origin.
public attribute visible: Boolean;
Determines whether this node is visible in the canvas. If set to
false, this node and anything it contains will not be painted and
will not receive events.
public attribute onKeyDown: function(f3.ui.KeyEvent):*?;
public attribute onKeyUp: function(f3.ui.KeyEvent):*?;
public attribute onKeyTyped: function(f3.ui.KeyEvent):*?;
public attribute focusable: Boolean;
public attribute focused: Boolean;
public attribute dragValue: ;
public attribute dragView: Node?;
public attribute onDrop: function(f3.ui.canvas.CanvasDropEvent):*?;
public attribute canAcceptDrop: function(f3.ui.canvas.CanvasDropEvent):Boolean?;
public attribute onDragEnter: function(f3.ui.canvas.CanvasDropEvent):*?;
public attribute onDragExit: function(f3.ui.canvas.CanvasDropEvent):*?;
public attribute onMouseClicked: function(f3.ui.canvas.CanvasMouseEvent):*?;
attribute onMouseClicked: function(e:CanvasMouseEvent)?
Optional handler for mouse click events
public attribute onMouseEntered: function(f3.ui.canvas.CanvasMouseEvent):*?;
attribute onMouseEntered: function(e:CanvasMouseEvent)?
Optional handler for mouse enter events.
public attribute onMouseExited: function(f3.ui.canvas.CanvasMouseEvent):*?;
attribute onMouseExited: function(e:CanvasMouseEvent)?
Optional handler for mouse exit events.
public attribute onMousePressed: function(f3.ui.canvas.CanvasMouseEvent):*?;
attribute onMousePressed: function(e:CanvasMouseEvent)?
Optional handler for mouse press events.
public attribute onMouseReleased: function(f3.ui.canvas.CanvasMouseEvent):*?;
attribute onMouseReleased: function(e:CanvasMouseEvent)?
Optional handler for mouse release events.
public attribute onMouseDragged: function(f3.ui.canvas.CanvasMouseEvent):*?;
attribute onMouseDragged: function(e:CanvasMouseEvent)?
Optional handler for mouse drag events.
public attribute onMouseMoved: function(f3.ui.canvas.CanvasMouseEvent):*?;
attribute onMouseMoved: function(e:CanvasMouseEvent)?
Optional handler for mouse motion events.
public attribute currentX: Number;
Read-only attribute returning the current x coordinate of this node relative to its parent.
public attribute currentY: Number;
Read-only attribute returning the current y coordinate of this node relative to its parent.
public attribute currentWidth: Number;
Read-only attribute returning the current width of this node.
public attribute currentHeight: Number;
Read-only attribute returning the current height of this node.
public attribute cursor: Cursor?;
Optional cursor to use when the mouse is over this node.
public attribute hover: Boolean;
public attribute id: String?;
}
Subclasses: Clip , CompositeNode , Group , ImageView , Lens , View , VisualNode |
Noise
class Noise extends Filter {
protected attribute noiseFilter: NoiseFilter;
public attribute distribution: Number;
public attribute monochrome: Boolean;
}
Orientation
class Orientation {
public attribute name: String;
}
Enumerated Values: HORIZONTAL, VERTICAL
Paint
class Paint {
}
Enumerated Values: aliceblue, animateColor, antiquewhite, aqua, aquamarine, azure, beige, bisque, black, blanchedalmond, blue, blueviolet, brown, burlywood, cadetblue, chartreuse, chocolate, coral, cornflowerblue, cornsilk, crimson, cyan, darkblue, darkcyan, darkgoldenrod, darkgray, darkgreen, darkkhaki, darkmagenta, darkolivegreen, darkorange, darkorchid, darkred, darksalmon, darkseagreen, darkslateblue, darkslategray, darkturquoise, darkviolet, deeppink, deepskyblue, dimgray, dodgerblue, firebrick, floralwhite, forestgreen, fuchsia, gainsboro, ghostwhite, gold, goldenrod, gray, green, greenyellow, grey, honeydew, hotpink, indianred, indigo, ivory, khaki, lavender, lavenderblush, lawngreen, lemonchiffon, lightGray, lightblue, lightcoral, lightcyan, lightgoldenrodyellow, lightgreen, lightgrey, lightpink, lightsalmon, lightseagreen, lightskyblue, lightslategray, lightsteelblue, lightyellow, lime, limegreen, linen, magenta, maroon, mediumaquamarine, mediumblue, mediumorchid, mediumpurple, mediumseagreen, mediumslateblue, mediumspringgreen, mediumturquoise, mediumvioletred, midnightblue, mintcream, mistyrose, moccasin, navajowhite, navy, oldlace, olive, olivedrab, orange, orangered, orchid, palegoldenrod, palegreen, paleturquoise, palevioletred, papayawhip, peachpuff, peru, pink, plum, powderblue, purple, red, rosybrown, royalblue, saddlebrown, salmon, sandybrown, seagreen, seashell, sienna, silver, skyblue, slateblue, slategray, snow, springgreen, steelblue, tan, teal, thistle, tomato, turquoise, violet, wheat, white, whitesmoke, yellow, yellowgreen
Subclasses: AbstractColor , Pattern |
Panel
Container which provides absolute layout. You layout its content by specifing their (x, y, width, height) values.
class Panel extends Widget {
private attribute jpanel: JPanel;
public attribute content: Widget*;
A list of the components contained in this panel
}
ParallelGroup
class ParallelGroup {
public attribute alignment: Alignment?;
public attribute resizable: Boolean;
}
PasswordField
class PasswordField extends Widget {
protected attribute inListener: Boolean;
private attribute textField: JPasswordField;
public attribute value: String;
public attribute onChange: function(String):*;
public attribute action: function():*;
public attribute columns: Number;
public attribute horizontalAlignment: HorizontalAlignment;
}
Path
The Path
class represents a geometric path
constructed from straight lines, and quadratic and cubic
(Bézier) curves.
class Path extends Shape {
public attribute lastMoveToX: Number?;
public attribute lastMoveToY: Number?;
public attribute xCenter: Number?;
public attribute yCenter: Number?;
public attribute currentX: Number?;
public attribute currentY: Number?;
private attribute zpath: ZPath;
public attribute d: AbstractPathElement*;
Path Data
A list of commands and/or shapes which define this path.
}
Pattern
A Pattern is used to fill or stroke an object using a pre-defined graphic object which can be replicated ("tiled") at fixed intervals in x and y to cover the areas to be painted.Attributes x, y, width, height define a reference rectangle somewhere on the infinite canvas. The reference rectangle has its top/left at (x,y) and its bottom/right at (x+width,y+height). The tiling theoretically extends a series of such rectangles to infinity in X and Y (positive and negative), with rectangles starting at (x + m*width, y + n*height) for each possible integer value for m and n.
class Pattern extends Paint {
private attribute canvas: Canvas?;
private attribute texturePaint: TexturePaint;
public attribute x: Number;
The x coordinate of the start point of the tile. Defaults to zero.
public attribute y: Number;
The y coordinate of the start point of the tile. Defaults to zero
public attribute width: Number?;
The width the tile. Defaults to the preferred size of this pattern's content.
public attribute height: Number?;
The height of the tile. Defaults to the preferred size of this pattern's content.
public attribute content: Node*;
The graphic objects that will be used to create the tile that this pattern will paint.
}
Polygon
Draws a closed polygon defined by a sequence of points [x1, y1, x2, y2,..., xN, yN]. The figure is automatically closed by drawing a line connecting the final point to the first point, if those points are different.
class Polygon extends Shape {
private attribute zpolygon: ZPolygon;
public attribute points: Number*;
The list of points that define this polygon
}
Polyline
A shape consisting of multiple attached line segments defined by a sequence of points (points)
[x1, y1, x2, y2, ..., xN, yN].
class Polyline extends Shape {
private attribute zpolyline: ZPolyline;
public attribute points: Number*;
The list of points that make up this polyline. These are alternating
x and y coordinates.
}
ProgressBar
class ProgressBar extends Widget {
private attribute jprogressbar: JProgressBar;
public attribute min: Number;
public attribute max: Number;
public attribute value: Number;
public attribute stringPainted: Boolean;
public attribute borderPainted: Boolean;
public attribute string: String;
public attribute orientation: Orientation;
public attribute indeterminate: Boolean;
}
QuadCurve
The QuadCurve
class defines a quadratic parametric curve
segment by means of a start point (x1, y1), a control point (ctrlx, ctrly),
and an end point (x2, y2).
class QuadCurve extends Shape {
private attribute zquadCurve: ZQuadCurve;
public attribute x1: Number;
The x coordinate of the start point of this quad curve.
public attribute y1: Number;
The y coordinate of the start point of this quad curve.
public attribute ctrlx: Number;
The x coordinate of the control point of this quad curve.
public attribute ctrly: Number;
The y coordinate of the control point of this quad curve.
public attribute x2: Number;
The x coordinate of the end point of this quad curve.
public attribute y2: Number;
The y coordinate of the end point of this quad curve.
}
QuadTo
Adds a curved segment, defined by two new points, to the path by drawing a Quadratic curve that intersects both the current coordinates and the coordinates (x2, y2), using the specified point (x1, y1) as a quadratic parametric control point.
class QuadTo extends PathElement {
public attribute smooth: Boolean;
public attribute x1: Number;
the x coordinate of the first quadratic control point
public attribute y1: Number;
the y coordinate of the first quadratic control point
public attribute x2: Number;
the x coordinate of the second quadratic control point
public attribute y2: Number;
the y coordinate of the second quadratic control point
}
RadialGradient
class RadialGradient extends Gradient {
public attribute cx: Number?;
public attribute cy: Number?;
public attribute radius: Number;
public attribute focusX: Number?;
public attribute focusY: Number?;
}
RadioButton
class RadioButton extends SelectableButton {
private attribute jradiobutton: JRadioButton;
public attribute text: String;
public attribute mnemonic: KeyStroke?;
public attribute icon: Icon?;
public attribute selectedIcon: Icon?;
public attribute pressedIcon: Icon?;
public attribute rolloverIcon: Icon?;
public attribute rolloverSelectedIcon: Icon?;
public attribute disabledIcon: Icon?;
public attribute disabledSelectedIcon: Icon?;
public attribute iconTextGap: Number?;
public attribute contentAreaFilled: Boolean?;
public attribute focusPainted: Boolean?;
public attribute borderPainted: Boolean?;
public attribute action: function():*;
public attribute margin: Insets?;
public attribute horizontalTextPosition: HorizontalAlignment?;
public attribute verticalTextPosition: VerticalAlignment?;
public attribute horizontalAlignment: HorizontalAlignment?;
public attribute verticalAlignment: VerticalAlignment?;
}
RadioButtonMenuItem
class RadioButtonMenuItem extends MenuItem, SelectableButton {
private attribute jradiobuttonmenuitem: JRadioButtonMenuItem;
}
Rect
The Rect
class defines a rectangle with
possibly rounded corners defined by a location (x, y), a
dimension (width height), and the width and height of an arc
(arcWidth, arcHeight) with which to round the corners.
class Rect extends Shape, SizeableCanvasElement {
protected attribute zrect: ZRectangle;
public attribute x: Number;
The x coordinate of this rectangle's location.
public attribute y: Number;
The y coordinate of this rectangle's location.
public attribute width: Number;
The width of this rectangle.
public attribute height: Number;
The height of this rectangle.
public attribute arcWidth: Number;
The width of the corner arc of this rectangle.
public attribute arcHeight: Number;
The height of the corner arc of this rectangle.
}
RootPane
class RootPane extends Widget {
private attribute jrootpane: JRootPane;
public attribute menubar: MenuBar?;
public attribute content: Widget?;
}
Rotate
Transformation operation which rotates an object.
class Rotate extends Transform {
public attribute angle: Number;
The amount of rotation in degrees
public attribute cx: Number;
The x coordinate of the center point about which this rotation will be performed. Defaults to zero.
public attribute cy: Number;
The y coordinate of the center point about which this rotation will be performed. Defaults to zero.
}
Enumerated Values: rotate
Row
class Row extends ParallelGroup {
}
Scale
Transformation operation which scales an object.
class Scale extends Transform {
public attribute x: Number;
The factor to scale along the x axis
public attribute y: Number;
The factor to scale along the y axis
}
Enumerated Values: scale, scaleX, scaleXY, scaleY
ScaleFilter
class ScaleFilter extends Filter {
public attribute x: Number;
public attribute y: Number;
}
ScrollPane
Encapsulates javax.swing.JScrollPane
class ScrollPane extends ScrollableWidget {
public attribute view: Widget;
The view
}
ScrollableWidget
Interface for widgets that support scrollbars and scrolling. Encapsulates javax.swing.JScrollPane and javax.swing.JViewport.
class ScrollableWidget extends Widget {
private attribute viewChangeListener: ChangeListener;
protected attribute scrollpane: JScrollPane;
public attribute rowHeader: Widget?;
Adds a child that will appear as a column on to the left or right
of the main view of the scrollpane depending on the current component orientation.
public attribute columnHeader: Widget?;
Adds a child that will appear as a row at the top or bottom
of the main view of the scrollpane depending on the current component orientation.
public attribute lowerLeftCorner: Widget?;
public attribute lowerRightCorner: Widget?;
public attribute upperLeftCorner: Widget?;
public attribute upperRightCorner: Widget?;
public attribute viewportBorder: Border?;
Sets the border of the scroll pane's viewport
public attribute scrollPaneBorder: Border?;
Sets the scroll pane's border
public attribute onViewChange: function():*?;
Optional handler for changes to the scroll pane's view's location.
public attribute horizontalScrollBarPolicy: HorizontalScrollBarPolicy;
The display policy for the horizontal scrollbar. Defaults to AS_NEEDED.
public attribute scrollBarBackground: AbstractColor?;
protected attribute awtScrollBarBackground: Color?;
public attribute verticalScrollBarPolicy: VerticalScrollBarPolicy;
The display policy for the vertical scrollbar. Defaults to AS_NEEDED.
}
Subclasses: EditorPane , ListBox , ScrollPane , Table , TextArea , TextPane , Tree |
SelectableButton
class SelectableButton extends Widget {
public attribute buttonGroup: ButtonGroup;
public attribute selected: Boolean?;
public attribute onChange: function(Boolean):*?;
}
Subclasses: RadioButton , RadioButtonMenuItem , ToggleButton |
Separator
class Separator extends Widget {
private attribute jsep: JSeparator;
public attribute orientation: Orientation;
}
ShadowFilter
class ShadowFilter extends Filter {
protected attribute shadowFilter: ShadowFilter;
public attribute radius: Number;
Sets the radius of the gaussian blur kernel *
public attribute angle: Number;
public attribute distance: Number;
public attribute x: Number;
public attribute y: Number;
public attribute opacity: Number;
public attribute shadowColor: Color;
public attribute addMargins: Boolean;
public attribute shadowOnly: Boolean;
}
ShadowedBorder
class ShadowedBorder extends Border {
}
Shape
The Shape
interface provides definitions for objects
that represent some form of geometric shape.
class Shape extends VisualNode, AbstractPathElement {
protected attribute zshape: ZShape;
public attribute outline: Boolean;
public attribute fillRule: FillRule;
private attribute pathLength: PathLength?;
private attribute awtTransformedShape: Shape?;
private attribute awtShape: Shape?;
private attribute awtTransform: AffineTransform?;
private attribute transformListener: ZTransformListener;
}
Subclasses: Arc , Area , Circle , CubicCurve , Ellipse , Line , Path , Polygon , Polyline , QuadCurve , Rect , Star , Text |
ShapeBurst
class ShapeBurst extends Filter {
protected attribute shapeFilter: ShapeFilter;
public attribute factor: Number;
public attribute useAlpha: Boolean;
public attribute type: ShapeBurstType;
public attribute invert: Boolean;
public attribute merge: Boolean;
}
ShapeBurstType
class ShapeBurstType {
public attribute id: Integer;
}
Enumerated Values: CIRCLE_DOWN, CIRCLE_UP, LINEAR, SMOOTH
SimpleLabel
class SimpleLabel extends Widget {
private attribute jlabel: JLabel;
public attribute text: String;
public attribute icon: Icon?;
public attribute horizontalAlignment: HorizontalAlignment;
public attribute mnemonic: KeyStroke?;
public attribute labelFor: Widget?;
}
SingleSelection
class SingleSelection {
protected attribute generation: Number;
public attribute anchorIndex: Number;
}
Subclasses: MultiSelection |
SizeableCanvasElement
Interface for rectangular elements which can be sized by their height and width.
class SizeableCanvasElement extends CanvasElement {
public attribute sizeToFitCanvas: Boolean;
If true this element will be sized to the dimensions of its containing canvas
}
Skew
Transformation operation which skews an object.
class Skew extends Transform {
public attribute x: Number;
The skew angle along the x axis in degrees
public attribute y: Number;
The skew angle along the y axis in degrees
}
Enumerated Values: skew, skewX, skewY
SlideTab
class SlideTab {
private attribute scrollable: ScrollablePanel;
private attribute viewport: JViewport;
private attribute size: Number;
private attribute slider: TabSlider;
public attribute enabled: Boolean;
public attribute button: Widget?;
public attribute title: String?;
public attribute toolTipText: String?;
public attribute icon: Icon?;
public attribute content: Widget;
public attribute selected: Boolean;
public attribute opaque: Boolean;
}
Slider
class Slider extends Widget {
private attribute jslider: JSlider;
public attribute min: Number;
public attribute max: Number;
public attribute value: Number;
public attribute extent: Number?;
public attribute orientation: Orientation;
public attribute majorTickSpacing: Number;
public attribute minorTickSpacing: Number;
public attribute snapToTicks: Boolean;
public attribute paintTicks: Boolean;
public attribute paintTrack: Boolean;
public attribute paintLabels: Boolean;
public attribute labels: SliderLabel*;
public attribute filled: Boolean;
}
SliderLabel
class SliderLabel {
public attribute value: Number;
public attribute label: Widget;
}
SoftBevelBorder
class SoftBevelBorder extends BevelBorder {
}
Spinner
class Spinner extends Widget {
protected attribute spinner: JSpinner;
public attribute min: Number?;
public attribute max: Number?;
public attribute value: Number;
public attribute stepSize: Number?;
public attribute onChange: function(Number):*;
public attribute editorForeground: Color?;
public attribute editorBackground: Color?;
public attribute editorFont: Font?;
}
SplitPane
class SplitPane extends Widget {
protected attribute split: MultiSplitPane;
protected attribute root: MultiSplitLayout$Split;
public attribute orientation: Orientation;
public attribute content: SplitView+;
}
SplitView
class SplitView {
protected attribute splitpane: SplitPane;
protected attribute splitnode: MultiSplitLayout$Leaf;
public attribute weight: Number;
protected attribute id: String;
public attribute content: Widget;
}
SpreadMethod
class SpreadMethod {
public attribute id: MultipleGradientPaint$CycleMethodEnum;
public attribute name: String;
}
Enumerated Values: PAD, REFLECT, REPEAT
Spring
class Spring {
public attribute min: Number;
public attribute pref: Number;
public attribute max: Number;
}
StackPanel
Romain Guy's StackLayout: layous out its content on top of each other
class StackPanel extends Widget {
private attribute jpanel: JPanel;
public attribute content: Widget*;
}
Star
A shape which describes a star by means of a center point (cx, cy), an inner radius (rin), an outer radius (rout), a count of points (points), and an angle at which to draw the first point (startAngle).
class Star extends Shape {
private attribute zpolygon: ZPolygon;
public attribute cx: Number;
The x coordinate of the center point of this star.
public attribute cy: Number;
The y coordinate of the center point of this star.
public attribute rin: Number;
The inner radius of this star.
public attribute rout: Number;
The outer radius of this star.
public attribute points: Number;
The number of points this star has.
public attribute startAngle: Number;
The angle at which to draw the first point.
}
Stop
Defines one element of the ramp of colors to use on a gradient.
class Stop {
public attribute offset: Number;
The offset attribute is a number ranging from 0 to 1 which indicates where
this gradient stop is placed. For linear gradients, the offset attribute
represents a location along the gradient vector. For radial gradients, it
represents a percentage distance from (focusX,focusY) to the edge of the
outermost/largest circle.
public attribute color: Color;
Indicates what color to use at this gradient stop.
}
StopHolder
class StopHolder {
public attribute gradient: Gradient;
public attribute jstop: Stop;
public attribute offset: Number;
public attribute color: Color;
}
Stretch
class Stretch {
public attribute id: String;
}
Enumerated Values: FILL, UNIFORM, UNIFORM_TO_FILL
StretchDirection
class StretchDirection {
public attribute id: String;
}
Enumerated Values: BOTH, DOWN_ONLY, UP_ONLY
StrokeLineCap
class StrokeLineCap {
public attribute id: Number;
public attribute name: String;
}
Enumerated Values: BUTT, ROUND, SQUARE
StrokeLineJoin
class StrokeLineJoin {
public attribute id: Number;
public attribute name: String;
}
Enumerated Values: BEVEL, MITER, ROUND
Subtract
Area operation which subtracts the shape ofshape2
from the shape ofshape1
.
class Subtract extends Area {
}
Tab
class Tab {
protected attribute tabbedPane: TabbedPane;
private attribute panel: JPanel;
public attribute toolTipText: String?;
public attribute icon: Icon?;
public attribute title: String;
public attribute content: Widget;
public attribute preferredSize: Dimension?;
}
TabPlacement
class TabPlacement {
public attribute name: String;
public attribute id: Number;
}
Enumerated Values: BOTTOM, LEFT, RIGHT, TOP
TabSlider
class TabSlider extends Widget {
public attribute inUpdateSelection: Boolean;
public attribute resizing: Boolean;
public attribute inSelection: Boolean;
public attribute orientation: Orientation;
public attribute panel: LayoutNotifier;
public attribute selectedIndex: Number;
public attribute tabs: SlideTab*;
public attribute slideDuration: Number;
}
TabbedPane
class TabbedPane extends Widget {
protected attribute tabbedpane: JTabbedPane;
private attribute changeListener: ChangeListener;
public attribute selectedIndex: Number?;
public attribute onSelectionChange: function(f3.ui.SingleSelection,f3.ui.SingleSelection):*;
public attribute selection: SingleSelection?;
public attribute tabPlacement: TabPlacement?;
public attribute tabLayout: TabLayout?;
public attribute tabs: Tab*;
}
Table
class Table extends ScrollableWidget {
private attribute inSetSelection: Boolean;
private attribute selectionListener: ListSelectionListener;
private attribute selectionGeneration: Number;
private attribute tableModel: UIContextImpl$XTableCellModel;
private attribute table: JTable;
private attribute rowcount: Number;
private attribute dirty: Boolean;
public attribute locked: Boolean;
public attribute autoResizeMode: TableAutoResizeMode;
public attribute visibleRowCount: Number;
public attribute selection: Number;
public attribute rowHeight: Number?;
public attribute rowMargin: Number?;
public attribute rowSelectionAllowed: Boolean?;
public attribute showGrid: Boolean;
public attribute showHorizontalLines: Boolean;
public attribute showVerticalLines: Boolean;
public attribute onSelectionChange: function():*;
public attribute gridColor: Color?;
public attribute columns: TableColumn+;
public attribute cells: TableCell*;
public attribute intercellSpacing: Dimension?;
}
TableAutoResizeMode
class TableAutoResizeMode {
public attribute id: Number;
}
Enumerated Values: ALL_COLUMNS, LAST_COLUMN, NEXT_COLUMN, SUBSEQUENT_COLUMNS
TableCell
class TableCell {
protected attribute table: Table;
public attribute text: String;
public attribute toolTipText: String?;
public attribute background: Color?;
public attribute foreground: Color?;
public attribute font: Font?;
public attribute border: Border?;
public attribute value: ;
public attribute selected: Boolean;
}
TableColumn
class TableColumn {
public attribute text: String;
public attribute weight: Number?;
public attribute width: Number?;
public attribute alignment: HorizontalAlignment;
}
Text
A canvas node that displays text defined by a location (x, y), a string of characters (content), and a font. If stroking and filling and/or shape operations aren't required, it's often more useful to use a View with a Label or SimpleLabel to represent text (for example, in that case you can use HTML markup).
class Text extends Shape {
private attribute ztext: ZText;
public attribute editable: Boolean;
Determines whether this text can be edited. Defaults to false.
public attribute content: String;
The character content of this text.
public attribute x: Number;
The x coordinate of the location of this text.
public attribute y: Number;
The y coordinate of the location of this text.
public attribute font: Font?;
The font used to render the characters of this text.
protected attribute awtFont: Font?;
public attribute alignment: Alignment;
}
TextArea
class TextArea extends ScrollableWidget {
private attribute caretColor: Color?;
private attribute inUpdate: Boolean;
private attribute documentListener: DocumentListener;
private attribute jtextarea: JTextArea;
public attribute editable: Boolean?;
public attribute rows: Number?;
public attribute columns: Number?;
public attribute lineWrap: Boolean?;
public attribute tabSize: Number?;
public attribute wrapStyleWord: Boolean?;
public attribute text: String;
public attribute caretDot: Integer;
public attribute caretMark: Integer;
public attribute lineCount: Number;
}
TextField
class TextField extends Widget {
private attribute propertyChangeListener: PropertyChangeListener;
private attribute textField: JTextField;
private attribute verifier: XInputVerifierImpl;
public attribute value: String;
public attribute text: String;
public attribute onChange: function(String):*?;
public attribute action: function():*?;
public attribute columns: Number;
public attribute editable: Boolean;
public attribute verify: function(String):Boolean?;
public attribute horizontalAlignment: HorizontalAlignment;
public attribute margin: Insets?;
}
TextPane
class TextPane extends ScrollableWidget {
private attribute inUpdate: Boolean;
private attribute documentListener: DocumentListener;
private attribute jtextpane: JTextPane;
public attribute editable: Boolean?;
public attribute content: *;
public attribute contentType: ContentType;
}
TextureFilter
class TextureFilter extends Filter {
protected attribute textureFilter: TextureFilter;
public attribute amount: Number;
public attribute scale: Number;
public attribute stretch: Number;
public attribute gain: Number;
public attribute bias: Number;
public attribute turbulence: Number;
}
TitledBorder
A class which implements an arbitrary border with the addition of a String title in a specified position and justification.If the border, titleFont, or titleColor attribute values are not specified in the constuctor or by invoking the appropriate set methods, the property values will be defined by the current look and feel, using the following property names in the Swing UI Defaults Table:
- "TitledBorder.border"
- "TitledBorder.font"
- "TitledBorder.titleColor"
class TitledBorder extends Border {
public attribute border: Border?;
public attribute title: String;
public attribute titlePosition: TitledBorderPosition;
public attribute titleJustification: TitledBorderJustification;
public attribute titleFont: Font?;
public attribute titleColor: Color?;
}
TitledBorderJustification
class TitledBorderJustification {
public attribute id: Number;
public attribute name: String;
}
Enumerated Values: CENTER, DEFAULT, LEADING, LEFT, RIGHT, TRAILING
TitledBorderPosition
class TitledBorderPosition {
public attribute id: Number;
public attribute name: String;
}
Enumerated Values: ABOVE_BOTTOM, ABOVE_TOP, BELOW_BOTTOM, BELOW_TOP, BOTTOM, DEFAULT, TOP
ToggleButton
class ToggleButton extends SelectableButton {
protected attribute button: XToggleButton;
public attribute defaultButton: Boolean?;
public attribute text: String;
public attribute mnemonic: KeyStroke?;
public attribute icon: Icon?;
public attribute selectedIcon: Icon?;
public attribute pressedIcon: Icon?;
public attribute rolloverIcon: Icon?;
public attribute rolloverSelectedIcon: Icon?;
public attribute disabledIcon: Icon?;
public attribute disabledSelectedIcon: Icon?;
public attribute iconTextGap: Number?;
public attribute contentAreaFilled: Boolean?;
public attribute focusPainted: Boolean?;
public attribute borderPainted: Boolean?;
public attribute action: function():*;
}
ToolBar
class ToolBar extends Widget {
private attribute panel: JPanel;
protected attribute toolbar: JToolBar;
public attribute floatable: Boolean?;
public attribute rollover: Boolean;
public attribute borderPainted: Boolean?;
public attribute margin: Insets?;
public attribute orientation: Orientation;
public attribute buttons: Widget*;
}
Transform
Interface for operations that perform transformations on graphics objects.
class Transform {
protected attribute transformable: Transformable?;
protected attribute transform: AffineTransform?;
}
Enumerated Values: matrix, rotate, scale, scaleX, scaleXY, scaleY, skew, skewX, skewY, translate, translateX, translateY
Transformable
Interface for graphic objects that can be transformed (translated, scaled, skewed, or rotated).
class Transformable {
public attribute transform: Transform*;
A list of transformation operations that will be performed on this object.
protected attribute affineTransform: AffineTransform?;
}
Translate
Transformation operation which moves an object.
class Translate extends Transform {
public attribute x: Number;
The distance to move this object along the x axis
public attribute y: Number;
The distance to move this object along the y axis
}
Enumerated Values: translate, translateX, translateY
Tree
class Tree extends ScrollableWidget {
private attribute inSelectionChange: Boolean;
private attribute inModel: Number;
private attribute treeSelectionListener: TreeSelectionListener;
private attribute listeners: TreeModelListener*;
private attribute tree: JTree;
private attribute treemodel: TreeModel;
public attribute selection: TreePath?;
public attribute selectedValue: ;
public attribute leadSelectionPath: *;
public attribute onSelectionChange: function():*?;
public attribute showRootHandles: Boolean?;
public attribute rootVisible: Boolean?;
public attribute root: TreeCell;
}
TreeCell
class TreeCell {
protected attribute tree: Tree;
protected attribute parent: TreeCell;
public attribute text: String;
public attribute toolTipText: String?;
public attribute cells: TreeCell*;
public attribute value: ?;
public attribute selected: Boolean;
}
UIElement
class UIElement {
public attribute lookAndFeel: String?;
}
Subclasses: AbstractFrame , InternalWindow , Widget |
VLine
Draws a vertical line from the current point to y.
class VLine extends PathElement {
public attribute y: Number*;
}
VerticalAlignment
Provides enumerated values for component alignment and text position
class VerticalAlignment {
public attribute id: Number;
public attribute name: String;
}
Enumerated Values: BOTTOM, CENTER, MIDDLE, TOP
VerticalGlue
class VerticalGlue extends Widget {
}
VerticalScrollBarPolicy
Provides enumerated constants that determine the visibility of vertical scrollbars.AS_NEEDED
Used to set the vertical scroll bar policy so that vertical scrollbars are displayed only when needed.ALWAYS
Used to set the vertical scroll bar policy so that vertical scrollbars are always displayed.NEVER
Used to set the horizontal scroll bar policy so that vertical scrollbars are never displayed.
class VerticalScrollBarPolicy {
public attribute id: Number;
}
Enumerated Values: ALWAYS, AS_NEEDED, NEVER
VerticalStrut
class VerticalStrut extends Widget {
}
View
A Canvas node that contains a Widget (Swing component). The contained widget will be sized to its preferred size.
class View extends Node, SizeableCanvasElement {
private attribute zswing: ZSwing;
public attribute antialias: Boolean;
If true, the graphics context used to paint the widget will be anti-aliased. Defaults to false
public attribute antialiasText: Boolean;
If true, the graphics context used to paint the widget will use anti-aliasing for text. Defaults to false.
public attribute fractionalMetrics: Boolean;
If true, the graphics context used to paint the widget will use fractional metrics, otherwise integer metrics will be used. Defaults to false.
public attribute content: Widget;
The widget (Swing component) contained in this node
public attribute size: Dimension?;
}
VisualNode
Abstract base class for visual elements that appear in the canvas.
class VisualNode extends Node {
private attribute zvisualnode: ZBasicVisualComponent;
public attribute stroke: Paint?;
The stroke
property paints along the outline of the given
graphical element.
protected attribute awtStroke: Paint?;
public attribute fill: Paint?;
The fill
property paints the interior of the given
graphical element. The area to be painted consists of any areas inside
the outline of the node's shape.
protected attribute awtFill: Paint?;
public attribute strokeLineCap: StrokeLineCap;
strokeLineCap
specifies the shape to be used at the end
of open subpaths when they are stroked. Defaults to SQUARE
.
public attribute strokeLineJoin: StrokeLineJoin;
strokeLineJoin
specifies the shape to be used at the
corners of paths or basic shapes when they are stroked. Defaults to
MITER
.
public attribute strokeWidth: Number;
The width of the stroke on the current object. A zero value causes
no stroke to be painted. A negative value is an error. Defaults to 1.0.
public attribute strokeMiterLimit: Number;
public attribute strokeDashArray: Number*;
strokeDashArray
controls the pattern of dashes and gaps
used to stroke paths. This attribute contains a list of lengths that
specify the lengths of alternating dashes and gaps. If an odd number
of values is provided, then the list of values is repeated to yield an
even number of values. Thus, strokeDashArray: [5,3,2] is equivalent to
strokeDashArray: [5,3,2,5,3,2]. Defaults to [].
public attribute strokeDashOffset: Number;
strokeDashOffset
specifies the distance into the dash
pattern to start the dash. Defaults to 0.0.
private attribute composite: Composite?;
}
Subclasses: Shape |
When two line segments meet at a sharp angle and miter joins have
been specified for 'stroke-linejoin', it is possible for the miter to
extend far beyond the thickness of the line stroking the path. The
'strokeMiterLimit' imposes a limit on the ratio of the miter length to
the 'strokeWidth'. When the limit is exceeded, the join is converted
from a miter to a bevel.
strokeMiterLimit
The limit on the ratio of the miter length to the 'strokeWidth'. The
value of
must be a number greater than or equal to 1.
Any other value is an error. Defaults to 10.0.
The ratio of miter length (distance between the outer tip and the inner
corner of the miter) to 'strokeWidth' is directly related to the angle
(theta) between the segments in user space by the formula:
miterLength / strokeWidth = 1 / sin(theta/2)
For example, a miter limit of 1.414 converts miters to bevels for
theta less than 90 degrees, a limit of 4.0 converts them for theta less
than approximately 29 degrees, and a limit of 10.0 converts them for
theta less than approximately 11.5 degrees.
Widget
class Widget extends GroupElement, UIElement {
protected attribute mouseListener: MouseListener?;
private attribute keyListener: KeyListener?;
protected attribute mouseMotionListener: MouseMotionListener?;
public attribute keyboardAction: KeyboardAction*;
public attribute focusTraversalKeysEnabled: Boolean?;
public attribute doubleBuffered: Boolean?;
Sets whether the this component should use a buffer to paint.
If set to true, all the drawing from this component will be done
in an offscreen painting buffer. The offscreen painting buffer will
the be copied onto the screen.
public attribute x: Number?;
Sets the x coordinate of this component within its parent. Has no effect unless contained in a Panel.
public attribute y: Number?;
Sets the y coordinate of this component within its parent. Has no effect unless contained in a Panel.
public attribute width: Number?;
Sets width of this component. Has no effect unless contained in a Panel.
public attribute height: Number?;
Sets the height of this component. Has no effect unless contained in a Panel.
public attribute component: JComponent;
read-only attribute providing access to the underlying Swing component
public attribute sizeToFitRow: Boolean?;
Hint to GroupLayout to make this component's height equal to others in the same row
public attribute sizeToFitColumn: Boolean?;
Hint to GroupLayout to make this component's width equal to others in the same column
public attribute toolTipText: String?;
Registers the text to display in a tool tip.
The text displays when the cursor lingers over the component.
public attribute visible: Boolean?;
True when the object is visible. An object that is not
visible is not drawn on the screen.
public attribute background: AbstractColor?;
Sets the background color of this component.
protected attribute awtBackground: Color?;
public attribute foreground: Color?;
Sets the foreground color of this component.
protected attribute awtForeground: Color?;
public attribute opaque: Boolean?;
If true the component paints every pixel within its bounds.
Otherwise, the component may not paint some or all of its
pixels, allowing the underlying pixels to show through.
The default value of this attribute is false
.
public attribute font: Font?;
Sets the Font
of this object.
protected attribute awtFont: Font?;
public attribute focusable: Boolean?;
Sets the focusable state of this Component to the specified value. This
value overrides the Component's default focusability.
public attribute size: Dimension?;
Resizes this component to the specified dimensions.
public attribute preferredSize: Dimension?;
public attribute maximumSize: Dimension?;
Sets the maximum size of this component to a constant
value. Subsequent calls to maximumSize()
will always
return this value; the component's UI will not be asked
to compute it. Setting the maximum size to null
restores the default behavior.
public attribute minimumSize: Dimension?;
Sets the minimum size of this component to a constant
value. Subsequent calls to minimumSize()
will always
return this value; the component's UI will not be asked
to compute it. Setting the minimum size to null
restores the default behavior.
public attribute border: Border?;
Sets the border of this component. The Border
object is
responsible for defining the insets for the component
(overriding any insets set directly on the component) and
for optionally rendering any border decorations within the
bounds of those insets. Borders should be used (rather
than insets) for creating both decorative and non-decorative
(such as margins and padding) regions for a swing component.
Compound borders can be used to nest multiple borders within a
single component.
public attribute cursor: Cursor?;
Sets the cursor image to the specified cursor. This cursor
image is displayed when the contains
method for
this component returns true for the current cursor location, and
this Component is visible, displayable, and enabled. Setting the
cursor of a Container
causes that cursor to be displayed
within all of the container's subcomponents, except for those
that have a non-null
cursor.
public attribute enabled: Boolean?;
True when the object is enabled. An object that is not
enabled does not interact with the user. Defaults to true
.
public attribute alignmentX: Number?;
Returns the alignment along the x axis. This specifies how
the component would like to be aligned relative to other
components. The value should be a number between 0 and 1
where 0 represents alignment along the origin, 1 is aligned
the furthest away from the origin, 0.5 is centered, etc.
public attribute alignmentY: Number?;
Returns the alignment along the y axis. This specifies how
the component would like to be aligned relative to other
components. The value should be a number between 0 and 1
where 0 represents alignment along the origin, 1 is aligned
the furthest away from the origin, 0.5 is centered, etc.
public attribute componentOrientation: ComponentOrientation?;
Sets the language-sensitive orientation that is to be used to order
the elements or text within this component. Language-sensitive
LayoutManager
and Component
subclasses will use this property to
determine how to lay out and draw components.
public attribute onMouseEntered: function(f3.ui.MouseEvent):*;
attribute onMouseEntered: function(e:MouseEvent)
Optional handler for mouse enter events.
public attribute onMouseExited: function(f3.ui.MouseEvent):*;
attribute onMouseExited: function(e:MouseEvent)
Optional handler for mouse exit events.
public attribute onMouseMoved: function(f3.ui.MouseEvent):*;
attribute onMouseMoved: function(e:MouseEvent)
Optional handler for mouse motion events.
public attribute onMousePressed: function(f3.ui.MouseEvent):*;
attribute onMousePressed: function(e:MouseEvent)
Optional handler for mouse press events.
public attribute onMouseReleased: function(f3.ui.MouseEvent):*;
attribute onMouseReleased: function(e:MouseEvent)
Optional handler for mouse release events.
public attribute onMouseClicked: function(f3.ui.MouseEvent):*;
attribute onMouseClicked: function(e:MouseEvent)
Optional handler for mouse exit events.
public attribute onMouseDragged: function(f3.ui.MouseEvent):*;
public attribute onKeyUp: function(f3.ui.KeyEvent):*;
attribute onKeyUp: function(event:KeyEvent);
Optional handler for key release events.
public attribute onKeyDown: function(f3.ui.KeyEvent):*;
attribute onKeyDown: function(event:KeyEvent);
Optional handler for key press events.
public attribute onKeyTyped: function(f3.ui.KeyEvent):*;
attribute onKeyTyped: function(event:KeyEvent)
Optional handler for key typed events.
}
WidgetInitiatedMultiSelection
class WidgetInitiatedMultiSelection extends MultiSelection {
public attribute widget: Component;
}
Window
class Window extends AbstractFrame {
public attribute disposeOnClose: Boolean;
public attribute screenx: Number;
public attribute screeny: Number;
public attribute owner: UIElement?;
public attribute frame: JWindow;
public attribute menubar: MenuBar?;
public attribute content: Widget;
public attribute title: String;
public attribute height: Number?;
public attribute width: Number?;
public attribute onClose: function():*;
public attribute visible: Boolean;
public attribute resizable: Boolean;
public attribute iconImage: Image?;
public attribute undecorated: Boolean;
}