<widget arincID="A661_PUSH_BUTTON"> <path path="arinc661.server.model.arinc.ARINCPushButton"/> </widget>
ServerWidget
interface. Generally "normal" widgets only have to declare fields which will store their associated widget properties.
@Attr
Java annotation, to sepcify which property is implemented. For example, to declare the implementation of the "A661_STRING" propety of the PushButton widget:@Attr(arincID = "A661_STRING") public String labelString = "";The annotation can also declare the property "type" which will be useful for the widget renderer implementation. The available types are:
Attr.Type.PROPERTY
for general propertiesAttr.Type.SIZE
for properties which represent a size, such as A661_SIZE_X
Attr.Type.POSITION
for properties which represent a position, such as A661_POS_X
Attr.Type.CHILD
for properties which represent a child reference attribute, such as A661_VISIBLE_CHILD
Attr.Type.COORDINATE
for properties which represent a Map widget coordinate attribute, such as A661_RANGE
Attr.Type.BUFFEROFITEMS
for properties which represent a BufferOfMapItem, such as as A661_BUFFER_OF_MAPITEM
@Attr(arincID = "A661_SIZE_X", type = Attr.Type.SIZE) public long width;Note that if no type is declared, the assumed type will be
PROPERTY
by default.
AbstractBuiltinWidget
class.
ServerContainer
interface. They also can extend the AbstractContainer
class.Copyright 2016-2017 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v2 licence