Java Doc for ValidationComponentUtils.java in  » Swing-Library » jgoodies-validation » com » jgoodies » validation » view » 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 » jgoodies validation » com.jgoodies.validation.view 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.jgoodies.validation.view.ValidationComponentUtils

ValidationComponentUtils
final public class ValidationComponentUtils (Code)
Consists exclusively of static methods that provide convenience behavior for operating on components that present validation data. Methods that access component state utilize the javax.swing.JComponent client property mechanism as a backing store.
author:
   Karsten Lentzsch
version:
   $Revision: 1.13 $
See Also:   com.jgoodies.validation.ValidationMessage
See Also:   com.jgoodies.validation.ValidationMessage.key
See Also:   com.jgoodies.validation.ValidationResult
See Also:   com.jgoodies.validation.ValidationResult.subResult(Object)
See Also:   com.jgoodies.validation.ValidationResult.keyMap

Inner Class :public static interface Visitor



Method Summary
public static  ValidationResultgetAssociatedResult(JComponent comp, Map<Object, ValidationResult> keyMap)
     Returns the ValidationResult associated with the given component using the specified validation result key map, or null if the component has no message key set, or ValidationResult.EMPTY if the key map contains no result for the component.
public static  ColorgetErrorBackground()
     Returns the error background color used to mark components that have an associated validation error.
public static  ObjectgetInputHint(JComponent comp)
     Returns the component's input hint that is stored in a client property. Useful to indicate the format of valid data to the user. The input hint object can be a plain String or a compound object, for example that is able to localize the input hint for the active java.util.Locale .

To make use of this information an editor should register a listener with the focus management.

public static  ColorgetMandatoryBackground()
     Returns a default background color that can be used as the component background for components with mandatory content.
public static  BordergetMandatoryBorder()
     Lazily creates and returns a Border instance that is used to indicate that a component's content is mandatory.
public static  ColorgetMandatoryForeground()
     Returns a default foreground color that can be used as the component foreground for components with mandatory content.
public static  Object[]getMessageKeys(JComponent comp)
     Returns the message key that has been set to associate the given component with a set of ValidationMessages.
public static  SeveritygetSeverity(JComponent comp)
     Returns the component's Severity if it has been set before.
public static  ColorgetWarningBackground()
     Returns the warning background color used to mark components that have an associated validation warning.
public static  booleanhasError(JComponent comp, ValidationResult result)
     Checks and answers if the specified component is associated with an error message in the given validation result.
public static  booleanhasWarning(JComponent comp, ValidationResult result)
     Checks and answers if the specified component is associated with a warning message in the given validation result.
public static  booleanisMandatory(JComponent comp)
     Returns if the component has been marked as mandatory.
public static  booleanisMandatoryAndBlank(JComponent comp)
     Returns if the component is a JTextComponent with blank content and has been marked as mandatory.
public static  voidsetErrorBackground(JTextComponent comp)
     Sets the text component's background to a color that shall indicate that the component's content has is invalid with error severity.

Note: The component background colors are managed by the look&feel implementation.

public static  voidsetInputHint(JComponent comp, Object hint)
     Sets the input hint for the given component.
public static  voidsetMandatory(JComponent comp, boolean mandatory)
     Marks the given component as mandatory or optional.
public static  voidsetMandatoryBackground(JTextComponent comp)
     Sets the text component's background to a color that shall indicate that the component's content is mandatory.

Note: The component background colors are managed by the look&feel implementation.

public static  voidsetMandatoryBorder(JTextComponent comp)
     Sets the text component's border to use a new border that shall indicate that the component's content is mandatory.

Note: The component foreground and border colors are managed by the look&feel implementation.

public static  voidsetMessageKey(JComponent comp, Object messageKey)
     Associates the given component with the specified message key. That in turn will associate the component with all ValidationMessages that share this key.
public static  voidsetMessageKeys(JComponent comp, Object[] messageKeys)
     Associates the given component with the specified message keys. That in turn will associate the component with all ValidationMessages that share these keys.
public static  voidsetSeverity(JComponent comp, Severity severity)
     Marks the given component with the specified severity.
public static  voidsetWarningBackground(JTextComponent comp)
     Sets the text component's background to a color that shall indicate that the component's content is invalid with warning severity.

Note: The component background colors are managed by the look&feel implementation.

public static  voidupdateComponentTreeMandatoryAndBlankBackground(Container container)
     Traverses a component tree and sets mandatory backgrounds to text components that have blank content and have been marked as mandatory with ValidationComponentUtils.setMandatory(JComponent,boolean) before.
public static  voidupdateComponentTreeMandatoryBackground(Container container)
     Traverses a component tree and sets mandatory backgrounds to text components that have been marked as mandatory with ValidationComponentUtils.setMandatory(JComponent,boolean) before.
public static  voidupdateComponentTreeMandatoryBorder(Container container)
     Traverses a component tree and sets mandatory borders to text components that have been marked as mandatory with ValidationComponentUtils.setMandatory(JComponent,boolean) before.
public static  voidupdateComponentTreeSeverity(Container container, ValidationResult result)
     Traverses a component tree and sets the severity for all text components. The iteration starts at the given container.
public static  voidupdateComponentTreeSeverityBackground(Container container, ValidationResult result)
     Traverses a component tree and sets the text component backgrounds according to the severity of an associated validation result - if any.
public static  voidvisitComponentTree(Container container, Map<Object, ValidationResult> keyMap, Visitor visitor)
     Traverses the component tree starting at the given container and invokes the given visitor's #visit method on each instance of JTextComponent .



Method Detail
getAssociatedResult
public static ValidationResult getAssociatedResult(JComponent comp, Map<Object, ValidationResult> keyMap)(Code)
Returns the ValidationResult associated with the given component using the specified validation result key map, or null if the component has no message key set, or ValidationResult.EMPTY if the key map contains no result for the component.
Parameters:
  comp - the component may be marked with a validation message keys
Parameters:
  keyMap - maps validation message keys to ValidationResults the ValidationResult associated with the given componentas provided by the specified validation key mapor null if the component has no message key set,or ValidationResult.EMPTY if no result is associatedwith the component
since:
   1.4



getErrorBackground
public static Color getErrorBackground()(Code)
Returns the error background color used to mark components that have an associated validation error. the error background color
See Also:   ValidationComponentUtils.getWarningBackground()
See Also:   ValidationComponentUtils.setErrorBackground(JTextComponent)
See Also:   ValidationComponentUtils.updateComponentTreeSeverityBackground(Container,ValidationResult)
since:
   1.0.2



getInputHint
public static Object getInputHint(JComponent comp)(Code)
Returns the component's input hint that is stored in a client property. Useful to indicate the format of valid data to the user. The input hint object can be a plain String or a compound object, for example that is able to localize the input hint for the active java.util.Locale .

To make use of this information an editor should register a listener with the focus management. Whenever the focused component changes, the mechanism can request the input hint for the focus owner using this service and can display the result hint in the user interface.
Parameters:
  comp - the component to be requested the component's input hint
See Also:   ValidationComponentUtils.setInputHint(JComponent,Object)




getMandatoryBackground
public static Color getMandatoryBackground()(Code)
Returns a default background color that can be used as the component background for components with mandatory content. Typically this color will be used with instances of JTextComponent .

Note: The component background colors are managed by the look&feel implementation. Many l&fs will honor a custom background color. However, some l&fs may ignore custom background colors. It is recommended to check the appearance in all l&fs available in an application. a background color useful for components with mandatory content
See Also:   ValidationComponentUtils.getMandatoryForeground()




getMandatoryBorder
public static Border getMandatoryBorder()(Code)
Lazily creates and returns a Border instance that is used to indicate that a component's content is mandatory. a Border that is used to indicate thata component's content is mandatory



getMandatoryForeground
public static Color getMandatoryForeground()(Code)
Returns a default foreground color that can be used as the component foreground for components with mandatory content. Typically this color will be used with instances of JTextComponent .

Note: The component foreground and border colors are managed by the look&feel implementation. Many l&fs will honor a custom foreground color and custom border configuration. However, some l&fs may ignore these custom settings. It is recommended to check the appearance in all l&fs available in an application. a foreground color useful for components with mandatory content
See Also:   ValidationComponentUtils.getMandatoryBackground()
See Also:   ValidationComponentUtils.getMandatoryBorder()




getMessageKeys
public static Object[] getMessageKeys(JComponent comp)(Code)
Returns the message key that has been set to associate the given component with a set of ValidationMessages.
Parameters:
  comp - the component to be requested the component's validation association key
See Also:   ValidationComponentUtils.setMessageKey(JComponent,Object)
See Also:   com.jgoodies.validation.ValidationMessage
See Also:   com.jgoodies.validation.ValidationMessage.key
See Also:   ValidationResult.subResult(Object)
See Also:   ValidationResult.keyMap



getSeverity
public static Severity getSeverity(JComponent comp)(Code)
Returns the component's Severity if it has been set before. Useful for validation-aware containers that render the component's validation state.
Parameters:
  comp - the component to be read the component's Severity as set before
See Also:   ValidationComponentUtils.setSeverity(JComponent,Severity)
See Also:   ValidationComponentUtils.updateComponentTreeSeverity(Container,ValidationResult)
See Also:   ValidationComponentUtils.updateComponentTreeSeverityBackground(Container,ValidationResult)



getWarningBackground
public static Color getWarningBackground()(Code)
Returns the warning background color used to mark components that have an associated validation warning. the warning background color
See Also:   ValidationComponentUtils.getErrorBackground()
See Also:   ValidationComponentUtils.setWarningBackground(JTextComponent)
See Also:   ValidationComponentUtils.updateComponentTreeSeverityBackground(Container,ValidationResult)
since:
   1.0.2



hasError
public static boolean hasError(JComponent comp, ValidationResult result)(Code)
Checks and answers if the specified component is associated with an error message in the given validation result. As a prerequisite, the component must have an association key set. That can be done using ValidationComponentUtils.setMessageKey(JComponent,Object) or ValidationComponentUtils.setMessageKeys(JComponent,Object[]) .

Note: This method may become slow if invoked for larger validation results and multiple components. In this case, it is recommended to use ValidationResult.keyMap instead. The latter iterates once over the validation result and can be used later to request the severity for multiple components in almost linear time.
Parameters:
  comp - used to get the association key from
Parameters:
  result - used to lookup the validation messages from true if the given component is associated with an error message
throws:
  NullPointerException - if the component or validation resultis null
See Also:   ValidationComponentUtils.hasWarning(JComponent,ValidationResult)
See Also:   ValidationComponentUtils.getMessageKeys(JComponent)




hasWarning
public static boolean hasWarning(JComponent comp, ValidationResult result)(Code)
Checks and answers if the specified component is associated with a warning message in the given validation result. As a prerequisite, the component must have a message key set. That can be done using ValidationComponentUtils.setMessageKey(JComponent,Object) or ValidationComponentUtils.setMessageKeys(JComponent,Object[]) .

Note: This method may become slow if invoked for larger validation results and multiple components. In this case, it is recommended to use ValidationResult.keyMap instead. The latter iterates once over the validation result and can be used later to request the severity for multiple components in almost linear time.
Parameters:
  comp - used to get the association key from
Parameters:
  result - used to lookup the validation messages from true if the given component is associated with a warning message
throws:
  NullPointerException - if the component or validation resultis null
See Also:   ValidationComponentUtils.hasError(JComponent,ValidationResult)
See Also:   ValidationComponentUtils.getMessageKeys(JComponent)




isMandatory
public static boolean isMandatory(JComponent comp)(Code)
Returns if the component has been marked as mandatory.
Parameters:
  comp - the component to be checked true if the component has been marked as mandatory
See Also:   ValidationComponentUtils.isMandatoryAndBlank(JComponent)
See Also:   ValidationComponentUtils.setMandatory(JComponent,boolean)
See Also:   ValidationComponentUtils.setMandatoryBackground(JTextComponent)
See Also:   ValidationComponentUtils.setMandatoryBorder(JTextComponent)



isMandatoryAndBlank
public static boolean isMandatoryAndBlank(JComponent comp)(Code)
Returns if the component is a JTextComponent with blank content and has been marked as mandatory.
Parameters:
  comp - the component to be checked true if the component's has a blank content and has been markedas mandatory
See Also:   ValidationComponentUtils.isMandatory(JComponent)
See Also:   ValidationComponentUtils.setMandatory(JComponent,boolean)
See Also:   ValidationComponentUtils.setMandatoryBackground(JTextComponent)
See Also:   ValidationComponentUtils.setMandatoryBorder(JTextComponent)



setErrorBackground
public static void setErrorBackground(JTextComponent comp)(Code)
Sets the text component's background to a color that shall indicate that the component's content has is invalid with error severity.

Note: The component background colors are managed by the look&feel implementation. Many l&fs will honor a custom foreground color and custom border configuration. However, some l&fs may ignore these custom settings. It is recommended to check the appearance in all l&fs available in an application.
Parameters:
  comp - the text component that shall get a new background
See Also:   ValidationComponentUtils.setMandatoryBackground(JTextComponent)
See Also:   ValidationComponentUtils.setWarningBackground(JTextComponent)




setInputHint
public static void setInputHint(JComponent comp, Object hint)(Code)
Sets the input hint for the given component. This hint can be later retrieved to indicate to the user the format of valid data for the focused component.
Parameters:
  comp - the component to set a hint for
Parameters:
  hint - the input hint to be associated with the component
See Also:   ValidationComponentUtils.getInputHint(JComponent)



setMandatory
public static void setMandatory(JComponent comp, boolean mandatory)(Code)
Marks the given component as mandatory or optional. The value will be stored as a client property value.
Parameters:
  comp - the component to be marked
Parameters:
  mandatory - true for mandatory, false for optional
See Also:   ValidationComponentUtils.isMandatory(JComponent)
See Also:   ValidationComponentUtils.isMandatoryAndBlank(JComponent)
See Also:   ValidationComponentUtils.setMandatoryBackground(JTextComponent)
See Also:   ValidationComponentUtils.setMandatoryBorder(JTextComponent)



setMandatoryBackground
public static void setMandatoryBackground(JTextComponent comp)(Code)
Sets the text component's background to a color that shall indicate that the component's content is mandatory.

Note: The component background colors are managed by the look&feel implementation. Many l&fs will honor a custom foreground color and custom border configuration. However, some l&fs may ignore these custom settings. It is recommended to check the appearance in all l&fs available in an application.
Parameters:
  comp - the text component that shall get a new background
See Also:   ValidationComponentUtils.setMandatoryBorder(JTextComponent)
See Also:   ValidationComponentUtils.setErrorBackground(JTextComponent)
See Also:   ValidationComponentUtils.setWarningBackground(JTextComponent)




setMandatoryBorder
public static void setMandatoryBorder(JTextComponent comp)(Code)
Sets the text component's border to use a new border that shall indicate that the component's content is mandatory.

Note: The component foreground and border colors are managed by the look&feel implementation. Many l&fs will honor a custom foreground color and custom border configuration. However, some l&fs may ignore these custom settings. It is recommended to check the appearance in all l&fs available in an application.
Parameters:
  comp - the component that gets a new border
See Also:   ValidationComponentUtils.setMandatoryBackground(JTextComponent)
See Also:   ValidationComponentUtils.getMandatoryBorder()




setMessageKey
public static void setMessageKey(JComponent comp, Object messageKey)(Code)
Associates the given component with the specified message key. That in turn will associate the component with all ValidationMessages that share this key. The latter can be checked by comparing this key with the key provided by a ValidationMessage.
Parameters:
  comp - the component that shall be associated with the key
Parameters:
  messageKey - the key to be set
See Also:   ValidationComponentUtils.getMessageKeys(JComponent)
See Also:   com.jgoodies.validation.ValidationMessage
See Also:   com.jgoodies.validation.ValidationMessage.key
See Also:   ValidationResult.subResult(Object)
See Also:   ValidationResult.keyMap



setMessageKeys
public static void setMessageKeys(JComponent comp, Object[] messageKeys)(Code)
Associates the given component with the specified message keys. That in turn will associate the component with all ValidationMessages that share these keys. The latter can be checked by comparing the given (and stored) keys with the key provided by a ValidationMessage.
Parameters:
  comp - the component that shall be associated with the keys
Parameters:
  messageKeys - the keys to be set
See Also:   ValidationComponentUtils.getMessageKeys(JComponent)
See Also:   com.jgoodies.validation.ValidationMessage
See Also:   com.jgoodies.validation.ValidationMessage.key
See Also:   ValidationResult.subResult(Object)
See Also:   ValidationResult.keyMap
since:
   1.4



setSeverity
public static void setSeverity(JComponent comp, Severity severity)(Code)
Marks the given component with the specified severity. The severity will be stored as a client property value. Useful for validation-aware containers that render the component's validation state once it has been set.
Parameters:
  comp - the component that shall be marked
Parameters:
  severity - the component's severity
See Also:   ValidationComponentUtils.getSeverity(JComponent)
See Also:   ValidationComponentUtils.updateComponentTreeSeverity(Container,ValidationResult)
See Also:   ValidationComponentUtils.updateComponentTreeSeverityBackground(Container,ValidationResult)



setWarningBackground
public static void setWarningBackground(JTextComponent comp)(Code)
Sets the text component's background to a color that shall indicate that the component's content is invalid with warning severity.

Note: The component background colors are managed by the look&feel implementation. Many l&fs will honor a custom foreground color and custom border configuration. However, some l&fs may ignore these custom settings. It is recommended to check the appearance in all l&fs available in an application.
Parameters:
  comp - the text component that shall get a new background
See Also:   ValidationComponentUtils.setMandatoryBackground(JTextComponent)
See Also:   ValidationComponentUtils.setErrorBackground(JTextComponent)




updateComponentTreeMandatoryAndBlankBackground
public static void updateComponentTreeMandatoryAndBlankBackground(Container container)(Code)
Traverses a component tree and sets mandatory backgrounds to text components that have blank content and have been marked as mandatory with ValidationComponentUtils.setMandatory(JComponent,boolean) before. The iteration starts at the given container.
Parameters:
  container - the component tree root
See Also:   ValidationComponentUtils.setMandatory(JComponent,boolean)
See Also:   ValidationComponentUtils.setMandatoryBackground(JTextComponent)



updateComponentTreeMandatoryBackground
public static void updateComponentTreeMandatoryBackground(Container container)(Code)
Traverses a component tree and sets mandatory backgrounds to text components that have been marked as mandatory with ValidationComponentUtils.setMandatory(JComponent,boolean) before. The iteration starts at the given container.
Parameters:
  container - the component tree root
See Also:   ValidationComponentUtils.setMandatory(JComponent,boolean)
See Also:   ValidationComponentUtils.setMandatoryBackground(JTextComponent)



updateComponentTreeMandatoryBorder
public static void updateComponentTreeMandatoryBorder(Container container)(Code)
Traverses a component tree and sets mandatory borders to text components that have been marked as mandatory with ValidationComponentUtils.setMandatory(JComponent,boolean) before. The iteration starts at the given container.
Parameters:
  container - the component tree root
See Also:   ValidationComponentUtils.setMandatory(JComponent,boolean)
See Also:   ValidationComponentUtils.setMandatoryBorder(JTextComponent)



updateComponentTreeSeverity
public static void updateComponentTreeSeverity(Container container, ValidationResult result)(Code)
Traverses a component tree and sets the severity for all text components. The iteration starts at the given container. If a validation result is associated with a component, the result's severity is set. Otherwise the severity is set to null. The severity is set using ValidationComponentUtils.setSeverity(JComponent,Severity) .

Before you use this method, associate components with validation messages using ValidationComponentUtils.setMessageKey(JComponent,Object) .
Parameters:
  container - the component tree root
Parameters:
  result - the validation result that provides the associated messages
See Also:   ValidationComponentUtils.setSeverity(JComponent,Severity)




updateComponentTreeSeverityBackground
public static void updateComponentTreeSeverityBackground(Container container, ValidationResult result)(Code)
Traverses a component tree and sets the text component backgrounds according to the severity of an associated validation result - if any. The iteration starts at the given container.

The message keys used to associate components with validation messages should be set using ValidationComponentUtils.setMessageKey(JComponent,Object) before you call this method.
Parameters:
  container - the component tree root
Parameters:
  result - the validation result used to lookup the severities
See Also:   ValidationComponentUtils.setMandatory(JComponent,boolean)
See Also:   ValidationComponentUtils.setMessageKey(JComponent,Object)
See Also:   ValidationComponentUtils.setMandatoryBackground(JTextComponent)
See Also:   ValidationComponentUtils.setErrorBackground(JTextComponent)
See Also:   ValidationComponentUtils.setWarningBackground(JTextComponent)
since:
   1.0.2




visitComponentTree
public static void visitComponentTree(Container container, Map<Object, ValidationResult> keyMap, Visitor visitor)(Code)
Traverses the component tree starting at the given container and invokes the given visitor's #visit method on each instance of JTextComponent . Useful to perform custom component tree updates that are not already provided by the #updateComponentTreeXXX methods.

The arguments passed to the #visit method are the visited component and its associated validation subresult. This subresult is requested from the specified keyMap using the component's message key.

Before you use this method, associate text component with validation messages using ValidationComponentUtils.setMessageKey(JComponent,Object) .
Parameters:
  container - the component tree root
Parameters:
  keyMap - maps messages keys to associated validation results
Parameters:
  visitor - the visitor that is applied to all text components
See Also:   ValidationComponentUtils.setMessageKey(JComponent,Object)
See Also:   Visitor




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.