Class
caplin.presenter.node

Button

A PresentationNode containing all of the attributes necessary to model a button on screen.

Constructor Summary

Attributes Name and Description
caplin.presenter.node.Button( vLabel)

Constructs a new instance of Button.

Field Summary

Attributes Name and Description
enabled

A boolean property representing whether the button is enabled or not.

label

The text currently displayed within the button.

visible

A boolean property representing whether the button is visible or not.

Methods inherited from class caplin.presenter.node.PresentationNode:
getPath, nodes, properties, removeAllListeners, removeChildListeners

Constructor Detail

caplin.presenter.node.Button( vLabel)

Constructs a new instance of Button.

Parameters
vLabel (optional) The text that will be displayed within the button — can be a String or a caplin.presenter.property.Property.

Field Detail

caplin.presenter.property.WritableProperty enabled

A boolean property representing whether the button is enabled or not.

caplin.presenter.property.WritableProperty label

The text currently displayed within the button.

caplin.presenter.property.WritableProperty visible

A boolean property representing whether the button is visible or not.