Home Arrow
EJS Elements, 2D Drawables, Arrow PDF Print E-mail
Written by Willy Gerber   
Wednesday, 11 February 2009 15:58

Help for Easy Java Simulation (EJS) Software Version 4.1 (see http://fem.um.es/Ejs)

Objective: Create a Arrow display.


Element:



Tree Element:



Element on Interface panel:



Property Window:




Properties, format and examples:

 PropertyFormatExampleFunction
  Pos XDouble1.2setX(double):void
getX():double
  Pos YDouble0.5setY(double):void
getY():double
  Position[]Dimensiondouble[]={10,10}setPosition(double[]):void
  Size XDouble1.0setSizeX(double):void
getSizeX():double
  Size YDouble0.8setSizeY(double):void
getSizeY():double
  Size[]Dimensiondouble[]={10,10}setSize(double[]):void
  Scale XDouble1.5 
  Scale YDouble1.6 
  TransformTransform  
  VisibleBooleantruesetVisible(boolean):void
isVisible():boolean
  MeasuredBooleantruesetMeasured(boolean):void
isMeasured():boolean
  DraggableBooleantrue 
  ResizableBooleantrue 
  Drag GroupGroup"Upper" 
  Resize GroupGroup"Upper" 
  SenstitivityDouble1.2 
  StyleStyleARROWsetStyle(Style):void
getStyle():Style
  OffsetStyleNORTH_EAST 
  Line ColorColor255,255,255,255 
  Fill ColorColor255,255,255,255 
  Line WidthInt1 
  Draw FillBooleantrue 


Actions:

 Action
  OnPress
  OnDrag
  OnRelease
  OnEnter
  OnExit


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