Table of the Widgets The SubSpecification Wigdet
 

Arbitrary Component Widgets

[A View of an empty Arbitrary Widget]

View Class: <any>
Spec Class: ArbitraryComponentSpec

Arbitrary Component Widgets allow inclusion of view-components which are not directly supported by the GUI painter.
(i.e. views, for which no corresponding UI-specification class exists, and also your own, private widget classes)


The Basics Section:

ID Unique symbolic name (ID) of the box.  
This ID can be used by the application to access the widget via "builder » componentAt:#ID".
View Name of a method in the application, which returns a view instance.
The view returned by that method will be placed inside the arbitrary component widget.
As an alternative, the name of a view class can be given here;
in this case, the view instance as returned from the #new class-message is embedded.
Model Aspect selector or binding for the model which is passed transparently to the view.  
Usually a ValueModel* instance.
This requires that the embedded view responds to the #model: message,
which it does automatically, if it inherits from the View class, but does not so, if inheriting from SimpleView.
Popup Menu Selector Aspect selector or binding for the building of a popup menu for the widget. 
It should return a menu spec or a menu.
Popup Menu Performer Aspect selector or binding for sending the messages of the popup menu items to an object. 
It should return an object which is able to receive the messages
as specified in the menu items.
If blank, the application gets the menu messages.
Menu Editor Opens a Menu Editor on the popup menu spec.
Vertical Scroll Bar Turns on/off that the widget provides vertical scrolling capabilities.
Vertical Mini Scroll Bar Turns on/off that the widget uses a small vertical scroll bar. 
This attributes can only be set, if the attribute Vertical Scroll Bar is turned on.
Horizontal Scroll Bar Turns on/off that the widget provides horizontal scrolling capabilities.
Horizontal Mini Scroll Bar Turns on/off that the widget uses a small horizontal scroll bar. 
This attributes can only be set, if the attribute Horizontal Scroll Bar is turned on.
Auto Hide Controls autoHiding of scrollbars.
If on, scrollbars hide themself, if the contents is smaller than the scrolled view.
If off, scrollBars never hide themSelf.
If set to default, the autoHide feature is controlled by the viewStyle
and scrollbars behave "natural" for the operating system.
(true for windows, false for most unix-styles).

The Details Section:

Initially Disabled Turns on/off that the widget is initially enabled.
The view should respond to #enable and #disabled
Initially Invisible Turns on/off that the widget is initially invisible.
Bordered Enable a border around the embedded view.

The Help Section:

see document "Using the Help Tool"

The Layout Section:

see document "The Layout of the Widgets"


[stx-logo]
Copyright © 1998 eXept Software AG, all rights reserved