Java Doc for Flashable.java in  » Swing-Library » jide-common » com » jidesoft » swing » 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 » Swing Library » jide common » com.jidesoft.swing 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.jidesoft.swing.Flashable

Flashable
abstract public class Flashable (Code)
Flashable is a basic interface to enable flashing in any component. Internally it uses Animator to create the flashing effect.

Whenever a Flashable is installed to a JComponent, you can always use Flashable.isFlashableInstalled(javax.swing.JComponent) to check if it is installed.


Inner Class :static class FlashTimer extends Timer implements ActionListener

Field Summary
final public static  StringCLIENT_PROPERTY_FLASHABLE
    
protected  Animator_animator
    
protected  JComponent_component
    
protected  Timer_timer
    

Constructor Summary
public  Flashable(JComponent component)
    

Method Summary
abstract public  voidclearFlashing()
     Clears any flashing effect.
abstract public  voidflash()
     This method actually does the flashing.
protected  AnimatorgetAnimator()
    
public  JComponentgetComponent()
     Gets the table that will flash.
public static  FlashablegetFlashable(JComponent component)
     Gets the TableFlashable installed on the table, if any.
Parameters:
  component - the component.
public  intgetInterval()
     Gets the interval, in ms.
public  booleangetSynchonizedFlashFlag()
    
public static  booleanisFlashableInstalled(JComponent component)
     Checks if there is a Flashable installed on the component.
Parameters:
  component - the component.
public  booleanisFlashing()
     Checks if it is flashing.
public  voidsetComponent(JComponent component)
     Sets the table that will flash.
public  voidsetInterval(int interval)
     Sets the inteveral, in ms.
public  voidstartFlashing()
     Starts flashing.
public  voidstopFlashing()
     Stops flashing.
public  voiduninstall()
     Unstalls the Flashable from the component.

Field Detail
CLIENT_PROPERTY_FLASHABLE
final public static String CLIENT_PROPERTY_FLASHABLE(Code)



_animator
protected Animator _animator(Code)



_component
protected JComponent _component(Code)



_timer
protected Timer _timer(Code)




Constructor Detail
Flashable
public Flashable(JComponent component)(Code)




Method Detail
clearFlashing
abstract public void clearFlashing()(Code)
Clears any flashing effect. This method will be called in Flashable.startFlashing() and Flashable.stopFlashing() .



flash
abstract public void flash()(Code)
This method actually does the flashing. This method is called in the actionPerformed of the timer.



getAnimator
protected Animator getAnimator()(Code)



getComponent
public JComponent getComponent()(Code)
Gets the table that will flash. the table.



getFlashable
public static Flashable getFlashable(JComponent component)(Code)
Gets the TableFlashable installed on the table, if any.
Parameters:
  component - the component. whether a Flashable is installed.



getInterval
public int getInterval()(Code)
Gets the interval, in ms. the interval.



getSynchonizedFlashFlag
public boolean getSynchonizedFlashFlag()(Code)



isFlashableInstalled
public static boolean isFlashableInstalled(JComponent component)(Code)
Checks if there is a Flashable installed on the component.
Parameters:
  component - the component. true if installed.



isFlashing
public boolean isFlashing()(Code)
Checks if it is flashing. true if flashing.



setComponent
public void setComponent(JComponent component)(Code)
Sets the table that will flash.
Parameters:
  component - the new table.



setInterval
public void setInterval(int interval)(Code)
Sets the inteveral, in ms. If the flashing is running, the new interval will take effect immediately. By default, it is 300 ms.
Parameters:
  interval - the new interval.



startFlashing
public void startFlashing()(Code)
Starts flashing.



stopFlashing
public void stopFlashing()(Code)
Stops flashing.



uninstall
public void uninstall()(Code)
Unstalls the Flashable from the component. Once uninstalled, you have to create a new Flashable in order to use the flahsing feature again. If you just want to stop flashing, you should use Flashable.stopFlashing() .



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.