Java Doc for Effect.java in  » J2EE » ICEfaces-1.6.1 » com » icesoft » faces » context » effects » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » ICEfaces 1.6.1 » com.icesoft.faces.context.effects 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.icesoft.faces.context.effects.Effect

All known Subclasses:   com.icesoft.faces.context.effects.Shake,  com.icesoft.faces.context.effects.SlideUp,  com.icesoft.faces.context.effects.Shrink,  com.icesoft.faces.context.effects.BlankEffect,  com.icesoft.faces.context.effects.BlindUp,  com.icesoft.faces.context.effects.Puff,  com.icesoft.faces.context.effects.Highlight,  com.icesoft.faces.context.effects.Scale,  com.icesoft.faces.context.effects.Move,  com.icesoft.faces.context.effects.Pulsate,  com.icesoft.faces.context.effects.Fade,  com.icesoft.faces.context.effects.Appear,  com.icesoft.faces.context.effects.BlindDown,  com.icesoft.faces.context.effects.SlideDown,  com.icesoft.faces.context.effects.SwitchOff,  com.icesoft.faces.context.effects.Fold,  com.icesoft.faces.context.effects.DropOut,  com.icesoft.faces.context.effects.EffectQueue,  com.icesoft.faces.context.effects.Grow,  com.icesoft.faces.context.effects.Focus,  com.icesoft.faces.context.effects.Squish,  com.icesoft.faces.context.effects.Opacity,
Effect
abstract public class Effect (Code)
Base class for all javascript effects


Field Summary
protected  EffectsArgumentsea
    


Method Summary
public  floatgetDelay()
    
public  floatgetDuration()
    
public  floatgetFps()
    
public  floatgetFrom()
     Gets the starting point of the transition, a float between 0.0 and 1.0.
abstract public  StringgetFunctionName()
    
public  StringgetId()
    
public  intgetIntfromString(String s)
    
public  StringgetQueue()
     Gets queuing options.
public  StringgetSequence()
    
public  intgetSequenceId()
    
public  floatgetTo()
     Gets the end point of the transition, a float between 0.0 and 1.0.
public  inthashCode()
    
public  booleanisFired()
     Has this effect been fired.
public  booleanisQueueEnd()
    
public  booleanisQueued()
    
public  booleanisSubmit()
    
public  booleanisSync()
     Gets whether the effect should render new frames automatically (which it does by default).
public  booleanisTransitory()
     Transitory effects return a component to its original state.
public  voidsetDelay(float delay)
    
public  voidsetDuration(float duration)
    
public  voidsetFired(boolean fired)
     Set if this effect has been fired.
public  voidsetFps(float fps)
     Set the frames per second of this effect.
public  voidsetFrom(float from)
     Sets the starting point of the transition, a float between 0.0 and 1.0.
public  voidsetId(String id)
    
public  voidsetOptions(String options)
    
public  voidsetQueue(String queue)
     Sets queuing options.
public  voidsetQueueEnd(boolean queueEnd)
    
public  voidsetQueued(boolean queued)
    
public  voidsetSequence(String sequence)
     Set the name of the sequence this effect is in.
public  voidsetSequenceId(int sequenceId)
    
public  voidsetSubmit(boolean submit)
     Sets is this effect should fire partial submit when finished.
public  voidsetSync(boolean sync)
     Sets whether the effect should render new frames automatically (which it does by default).
public  voidsetTo(float to)
     Sets the end point of the transition, a float between 0.0 and 1.0.
public  voidsetTransitory(boolean transitory)
     Transitory effects do not alter the display state.
public  StringtoString(String var, String lastCall)
    
public  StringtoString()
    

Field Detail
ea
protected EffectsArguments ea(Code)





Method Detail
getDelay
public float getDelay()(Code)
Gets the delay before invoking the effect



getDuration
public float getDuration()(Code)
Get the duration of the effect (In seconds)



getFps
public float getFps()(Code)
Get the frames per second of this effect



getFrom
public float getFrom()(Code)
Gets the starting point of the transition, a float between 0.0 and 1.0. Defaults to 0.0.



getFunctionName
abstract public String getFunctionName()(Code)
get the name of the Function call to invoke the effect



getId
public String getId()(Code)
Get the HTML ID of the element t



getIntfromString
public int getIntfromString(String s)(Code)



getQueue
public String getQueue()(Code)
Gets queuing options. When used with a string, can be 'front' or 'end' to queue the effect in the global effects queue at the beginning or end, or a queue parameter object that can have {position:'front/end', scope:'scope', limit:1}



getSequence
public String getSequence()(Code)
Get the name of the sequence this effect is in



getSequenceId
public int getSequenceId()(Code)
Get the ID or position of this effect in a sequence



getTo
public float getTo()(Code)
Gets the end point of the transition, a float between 0.0 and 1.0. Defaults to 1.0.



hashCode
public int hashCode()(Code)



isFired
public boolean isFired()(Code)
Has this effect been fired. ONly effects that have not been fired are sent to the browser



isQueueEnd
public boolean isQueueEnd()(Code)



isQueued
public boolean isQueued()(Code)



isSubmit
public boolean isSubmit()(Code)
Gets is this effect should fire partial submit when finished



isSync
public boolean isSync()(Code)
Gets whether the effect should render new frames automatically (which it does by default). If true, you can render frames manually by calling the render() instance method of an effect. This is used by Effect.Parallel().



isTransitory
public boolean isTransitory()(Code)
Transitory effects return a component to its original state. This flag is used to stop javascript from performing a partial submit at the end of an effect.

Example highlight.




setDelay
public void setDelay(float delay)(Code)
Sets the delay before invoking the effect
Parameters:
  delay -



setDuration
public void setDuration(float duration)(Code)
Set the duration of the effect (In seconds)
Parameters:
  duration -



setFired
public void setFired(boolean fired)(Code)
Set if this effect has been fired. When this flag is set to false the effect will be sent to the browser on the next render pass. After being fired Icefaces will set this flag to true. To resend this effect set the flag to false.
Parameters:
  fired -



setFps
public void setFps(float fps)(Code)
Set the frames per second of this effect. max is 25
Parameters:
  fps -



setFrom
public void setFrom(float from)(Code)
Sets the starting point of the transition, a float between 0.0 and 1.0. Defaults to 0.0.
Parameters:
  from -



setId
public void setId(String id)(Code)
Set the HTML ID of the element t
Parameters:
  id -



setOptions
public void setOptions(String options)(Code)



setQueue
public void setQueue(String queue)(Code)
Sets queuing options. When used with a string, can be 'front' or 'end' to queue the effect in the global effects queue at the beginning or end, or a queue parameter object that can have {position:'front/end', scope:'scope', limit:1}
Parameters:
  queue -



setQueueEnd
public void setQueueEnd(boolean queueEnd)(Code)

Parameters:
  queueEnd -



setQueued
public void setQueued(boolean queued)(Code)

Parameters:
  queued -



setSequence
public void setSequence(String sequence)(Code)
Set the name of the sequence this effect is in.
Parameters:
  sequence -



setSequenceId
public void setSequenceId(int sequenceId)(Code)
Set the ID or position of this effect in a sequence
Parameters:
  sequenceId -



setSubmit
public void setSubmit(boolean submit)(Code)
Sets is this effect should fire partial submit when finished. Transitory also needs to be set to true. default is false
Parameters:
  submit -



setSync
public void setSync(boolean sync)(Code)
Sets whether the effect should render new frames automatically (which it does by default). If true, you can render frames manually by calling the render() instance method of an effect. This is used by Effect.Parallel().
Parameters:
  sync -



setTo
public void setTo(float to)(Code)
Sets the end point of the transition, a float between 0.0 and 1.0. Defaults to 1.0.
Parameters:
  to -



setTransitory
public void setTransitory(boolean transitory)(Code)
Transitory effects do not alter the display state. (Example: pulsate, shake) However other effects change css style properties, and in some cases the application needs to be aware of these changes. (For refreshing a page for example) When css changes need to be sent to the application you need to set the transitory property to false. The framework will then populate a hidden field with the new style information. Ready to be sent on the next submit. However, if you need to send the new style information immediately you need to set the submit attribute to true as well. This will fire a partial submit at the end of the effect. Default is true
Parameters:
  transitory - true to not populate the css style changes, false to populate css style changes



toString
public String toString(String var, String lastCall)(Code)



toString
public String toString()(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.