Smalltalk/X WebserverDocumentation of class 'IndirectValue': |
||
|
Class: IndirectValueInheritance:Object | +--Model | +--ValueModel | +--IndirectValue
Description:IndirectValue refers to another valueHolder and presents that holder's value as my own value. However, the holder can be changed, which results in a change message from myself. Can be used if a valueHolder is needed which represents different values over time, for example, a line/column holder for a notebook-like multi-codeView application, where the line/col holder is switched whenever the tab is switched. (use an IndirectValue as holder of the line/col labels). Another possible use is to synchronize two notebools via a common valueHolder, which is used as indirect-value for the two individual indirect-selection-valueholders. Class protocol:instance creation
Instance protocol:accessing
Examples:a label alternatively showing the value of 2 other valueHolders:
|
|
|
ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 28 Mar 2024 22:22:42 GMT
|