Home TwoStateButton
EJS Elements, Interface, TwoStateButton PDF Print E-mail
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:

 PropertyFormatExample
  VariableVariablex
  EnabledBooleantrue
  AlignmentAlignmentLEFT
  SizeCoordinates"200,200"
  FontFont"Arial,Plain,12"
  TooltipString"Consult help."
  Text OnString"Reset"
  Image OnFile"images/reset.gif"
  Mnemonic OnString"R"
  Foreground OnColor"0,0,0,255"
  Background OnColor"255,255,255,255"
  Text OffString"Reset"
  Image OffFile"images/reset.gif"
  Mnemonic OffString"R"
  Foreground OffColor"0,0,0,255"
  Background OffColor"255,255,255,255"


Actions:

 Action
  ActionOff
  ActionOn

Last Updated ( Thursday, 12 February 2009 11:36 )
 
Copyright © 2010 gPhysics. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.