@Component(tag = "toolbar", widgetClass = "Toolbar", content = ContentHandling.AS_CHILD, parentTag = "*", childTag = @ChildTag("*")) public class Toolbar extends BaseUIComponent {
@Component(tag = "radiogroup", widgetClass = "Radiogroup", content = ContentHandling.AS_CHILD, parentTag = "*", childTag = @ChildTag("*")) public class Radiogroup extends BaseUIComponent {
@Component(tag = "template", widgetClass = "Span", parentTag = "*", childTag = @ChildTag("snippet")) public class Template extends BaseComponent implements INamespace {
@Component(tag = "columns", widgetModule = "cwf-grid", widgetClass = "Columns", parentTag = "grid", childTag = @ChildTag("column")) public class Columns extends BaseUIComponent {
@Component(tag = "row", widgetModule = "cwf-grid", widgetClass = "Row", content = ContentHandling.AS_CHILD, parentTag = "rows", childTag = @ChildTag("*")) public class Row extends BaseUIComponent {
@Component(tag = "detail", widgetModule = "cwf-detail", widgetClass = "Detail", content = ContentHandling.AS_CHILD, parentTag = "*", childTag = @ChildTag("*")) public class Detail extends BaseLabeledComponent<BaseLabeledComponent.LabelPositionNone> {
@Component(tag = "colorpicker", widgetModule = "cwf-picker", widgetClass = "Colorpicker", parentTag = "*", childTag = @ChildTag("colorpickeritem")) public class ColorPicker extends BasePickerComponent<Color> {
@Component(tag = "imagepicker", widgetModule = "cwf-picker", widgetClass = "Imagepicker", parentTag = "*", childTag = @ChildTag("imagepickeritem")) public class ImagePicker extends BasePickerComponent<String> {
@Component(tag = "rowcell", widgetModule = "cwf-grid", widgetClass = "Rowcell", content = ContentHandling.AS_CHILD, parentTag = "row", childTag = @ChildTag("*")) public class Rowcell extends BaseLabeledComponent<BaseLabeledComponent.LabelPositionNone> {
@Component(tag = "pane", widgetModule = "cwf-paneview", widgetClass = "Pane", content = ContentHandling.AS_CHILD, parentTag = "paneview", childTag = @ChildTag("*")) public class Pane extends BaseUIComponent {
/** * A component containing visually separate panes with optional splitter controls. */ @Component(tag = "paneview", widgetModule = "cwf-paneview", widgetClass = "Paneview", parentTag = "*", childTag = @ChildTag("pane")) public class Paneview extends BaseUIComponent { public enum Orientation { HORIZONTAL, VERTICAL } private Orientation orientation = Orientation.HORIZONTAL; @PropertyGetter("orientation") public Orientation getOrientation() { return orientation; } @PropertySetter("orientation") public void setOrientation(Orientation orientation) { orientation = orientation == null ? Orientation.HORIZONTAL : orientation; if (orientation != this.orientation) { sync("orientation", this.orientation = orientation); } } }
/** * A container component with a frame and title for visual grouping of related elements. */ @Component(tag = "groupbox", widgetClass = "Groupbox", content = ContentHandling.AS_CHILD, parentTag = "*", childTag = @ChildTag("*")) public class Groupbox extends BaseUIComponent { private String title; @PropertyGetter("title") public String getTitle() { return title; } @PropertySetter("title") public void setTitle(String title) { if (!areEqual(title = nullify(title), this.title)) { sync("title", this.title = title); } } }
/** * A container component that be displayed at a selected location. */ @Component(tag = "popup", widgetClass = "Popup", content = ContentHandling.AS_CHILD, parentTag = "*", childTag = @ChildTag("*")) public class Popup extends BaseComponent implements INamespace { public void open(BaseComponent reference) { open(reference, null, null); } public void open(BaseComponent reference, String my, String at) { Map<String, Object> map = new HashMap<>(); map.put("of", reference); map.put("at", at); map.put("my", my); invoke("open", map, true); } public void close() { invoke("close", true); } }
/** * A simple div component. */ @Component(tag = "div", widgetClass = "Div", content = ContentHandling.AS_CHILD, parentTag = "*", childTag = @ChildTag("*")) public class Div extends BaseUIComponent { }
/** * A simple cell component with an optional label. */ @Component(tag = "cell", widgetClass = "Cell", content = ContentHandling.AS_CHILD, parentTag = "*", childTag = @ChildTag("*")) public class Cell extends BaseLabeledComponent<BaseLabeledComponent.LabelPositionNone> { public Cell() { super(); } public Cell(String label) { super(label); } }
/** * This is an extension of a Span component that implements its own namespace. */ @Component(tag = "namespace", widgetClass = "Span", content = ContentHandling.AS_CHILD, parentTag = "*", childTag = @ChildTag("*")) public class Namespace extends Span implements INamespace { }
/** * A simple span component. */ @Component(tag = "span", widgetClass = "Span", content = ContentHandling.AS_CHILD, parentTag = "*", childTag = @ChildTag("*")) public class Span extends BaseUIComponent { }