Accessible States for Buttons



Peter,

I am trying to make sense of the states which we have defined in ATK which
relate to buttons. Most of these states correspond to Java AccessibleState
values.

I summarize here my understanding of what the Java states mean; I would 
appreciate it if you could correct any misunderstandings on my part or point
me at some documentation which covers this.

ARMED
=====
The left mouse button has been pressed while the mouse is inside the button.


CHECKED
=======
This is used to indicate that a radio button or check box has been selected.


ENABLED
=======
This state means that the button can be selected by the mouse.
The converse of enabled seems to be similar to the Gtk concept of a toggle
button being inconsistent.


PRESSED
=======
The left mouse button has been released while the mouse is inside the hutton.

I know that the documentation uses the phrase "Indicates this object is 
currently pressed." but based on the documentation for DefaultButtonModel
it looks like this state means that the button has been pressed rather 
than that it is pressed.

Is this state a transient state?


Padraig





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]