|
EJS Elements, Interface, TwoStateButton |
|
|
|
|
Written by Willy Gerber
|
|
Monday, 09 February 2009 17:22 |
Help for Easy Java Simulation (EJS) Software Version 4.1 (see http://fem.um.es/Ejs) Objective: Create a two state Button. Element:  Tree Element:  Element on Interface panel:  Property Window:  Properties, format and examples: | | Property | Format | Example |  | Variable | Variable | x |  | Enabled | Boolean | true |  | Alignment | Alignment | LEFT |  | Size | Coordinates | "200,200" |  | Font | Font | "Arial,Plain,12" |  | Tooltip | String | "Consult help." |  | Text On | String | "Reset" |  | Image On | File | "images/reset.gif" |  | Mnemonic On | String | "R" |  | Foreground On | Color | "0,0,0,255" |  | Background On | Color | "255,255,255,255" |  | Text Off | String | "Reset" |  | Image Off | File | "images/reset.gif" |  | Mnemonic Off | String | "R" |  | Foreground Off | Color | "0,0,0,255" |  | Background Off | Color | "255,255,255,255" | Actions:
|
|
Last Updated ( Thursday, 12 February 2009 11:36 )
|