Component BEEP

Overview

The BEEP component sends some "stupid beep" to the speaker of the client. The "beep" is triggered by a corresponding Trigger-property on server side.

There is an other component SOUND - which is the one to be used for playing sound files. The BEEP component uses the output of the ASCII beep character, which is also available on e.g. industry terminals without sound processor, or uses the default toolkit's beep processing.

Attribute summary

Typically used attributes

All attributes are

General attributes are

Attribute details

adapterbinding

Special binding to componet adapter object instance on server side.

The attribute value must be an expression.

#{tobedefined}Binding to IComponentAdapter instance

attributemacro

Name of macro that is used for generating certain attributes of this component. Please pay attention: the value of this attribute is read one time for each control and cannot be changed afterwards.

The attribute value must not be changed once the component is created.

beepcount

Number of beep-sounds that are output on client side.

11 beep (default)
22 beeps
33 beeps

beeptype

Type of beep on client side

0Beep is generated by sending char-7 to console output
1Beep is generated by calling Toolkit.getDefaultToolkit().beep()

comment

Comment that can be asigned to any component. The comment is not operationally used.

Any textAny text

configinfo

Configuration information that is attached to this component. This information is not functionally used by CaptainCasa, but may be used for any application specific purpose.

reference

Reference to an outside object that is the content behind the component. E.g. a field is representing a certain field of a database table: in this case you could define the value table;column. The reference plays a siginficant role within the attributemacro management.

The attribute value must not be changed once the component is created.

refOne reference
ref1;ref2Two references
ref1;ref2;ref3Three references

rendered

Flag that indicated if this component is rendered at all. If set to false then the component is not rendered - there is no component data sent to the client.

The attribute value must be an expression.

trueComponent is rendered (default)
falseComponent is not rendered

stylevariant

In CaptainCasa you can define styles definitions for components. A style definition is a definition of a set of default attribute values that are applied to the component. In case you want to differenciate between different usage types of the component you can apply multiple styles - and use the stylevariant attribute to select between.

trigger

Trigger value: if the value changes then the component's activity is executed on client side. Use class Trigger on server side for implementations of this property.

The attribute value must be an expression.