Browse Prior Art Database

Extendable Model for Toggle Button

IP.com Disclosure Number: IPCOM000111014D
Original Publication Date: 1994-Feb-01
Included in the Prior Art Database: 2005-Mar-26
Document File: 2 page(s) / 26K

Publishing Venue

IBM

Related People

Coskun, N: AUTHOR [+3]

Abstract

A toggle button is a user interface widget that has two states, 'ON' and 'OFF'. The state of the toggle button can be changed through an external event. An extendable model is needed for the usage of such an object in an application builder.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 100% of the total text.

Extendable Model for Toggle Button

      A toggle button is a user interface widget that has two states,
'ON' and 'OFF'.  The state of the toggle button can be changed
through an external event.  An extendable model is needed for the
usage of such an object in an application builder.

      The toggle button has three action slots called, 'TOGGLE', 'ON,
'OFF' and 'REDRAW'.  The TOGGLE action slot changes the state (from
off to on or on to off) by checking the state and activating the ON
or OFF state.  The ON action slot sets the state to ON.  The OFF slot
sets the state to OFF.  The REDRAW slot redraws the button in the
appropriate way.  The behavior of the button can be extended by
adding action objects to the ON or OFF action slots or by replacing
the action object in the REDRAW action slot.  For example, to
implement a radio button with this toggle button, action objects will
be placed in the ON slot to turn each of the other buttons off.
Also, the REDRAW action object will be replaced to check the button
state and draw an empty circle for OFF or a full circle for ON.