Java Doc for WbSwingUtilities.java in  » Database-Client » SQL-Workbench » workbench » gui » 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 » Database Client » SQL Workbench » workbench.gui 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   workbench.gui.WbSwingUtilities

WbSwingUtilities
public class WbSwingUtilities (Code)
Some helper functions to deal with Swing stuff


Field Summary
final public static  KeyStrokeALT_ENTER
    
final public static  KeyStrokeCTRL_ENTER
    
final public static  KeyStrokeCTRL_TAB
    
final public static  intDO_COMMIT
    
final public static  intDO_ROLLBACK
    
final public static  BorderEMPTY_BORDER
    
final public static  InsetsEMPTY_INSETS
    
final public static  KeyStrokeENTER
    
final public static  intEXECUTE_ALL
    
final public static  BorderFLAT_BUTTON_BORDER
    
final public static  LineBorderFOCUSED_CELL_BORDER
    
final public static  intIGNORE_ALL
    
final public static  KeyStrokeTAB
    


Method Summary
public static  voidcallRepaint(Component c)
    
public static  voidcenter(Window aWinToCenter, Component aReference)
     Centers the given window either agains anotherone on the screen If a second window is passed the first window is centered against that one
Parameters:
  aWinToCenter - the window to be centered
Parameters:
  aReference - center against this window.
public static  booleancheckConnection(Component parent, WbConnection dbConnection)
    
public static  BordergetBevelBorder()
    
public static  BordergetBevelBorderRaised()
    
public static  intgetCommitRollbackQuestion(Component aCaller, String aMessage)
    
public static  StringgetKeyName(int keyCode)
    
public static  PointgetLocationToCenter(Window aWinToCenter, Component aReference)
    
public static  booleangetOKCancel(String title, Component aCaller, Component message)
    
public static  booleangetOKCancel(String title, Component aCaller, Component message, Runnable doLater)
    
public static  StringgetUserInput(Component caller, String aTitle, String initialValue)
    
public static  StringgetUserInput(Component caller, String aTitle, String initialValue, boolean hideInput)
    
public static  WindowgetWindowAncestor(Component caller)
    
public static  booleangetYesNo(Component aCaller, String aMessage)
    
public static  intgetYesNo(Component aCaller, String aMessage, String[] options)
    
public static  intgetYesNo(Component aCaller, String aMessage, String[] options, int type)
    
public static  intgetYesNoCancel(Component aCaller, String aMessage)
    
public static  intgetYesNoExecuteAll(Component aCaller, String aMessage)
    
public static  intgetYesNoIgnoreAll(Component aCaller, String aMessage)
    
public static  voidinitPropertyEditors(Object bean, JComponent root)
    
final public static  voidinvoke(Runnable r)
     Synchronously execute code on the EDT. If the current thread is the EDT, this merely calls r.run() otherwise EventQueue.invokeAndWait() is called with the passed runnable. Exceptions that can be thrown by EventQueue.invokeAndWait() are caught and logged.
public static  voidrepaintLater(Component c)
    
public static  voidrepaintNow(Component c)
    
public static  voidrequestFocus(Window win, JComponent comp)
    
public static  voidrequestFocus(JComponent comp)
    
public static  voidshowDefaultCursor(Component caller)
    
public static  voidshowDefaultCursor(Component caller, boolean includeParents)
    
public static  voidshowDefaultCursorOnWindow(Component caller)
    
public static  voidshowErrorMessage(String aMessage)
    
public static  voidshowErrorMessage(Component aCaller, String aMessage)
    
public static  voidshowErrorMessage(Component aCaller, String title, String aMessage)
    
public static  voidshowErrorMessageKey(Component aCaller, String key)
    
public static  voidshowMessage(Component aCaller, Object aMessage)
    
public static  voidshowMessage(Component aCaller, String title, Object aMessage)
    
public static  voidshowMessageKey(Component aCaller, String aKey)
    
public static  voidshowWaitCursor(Component caller)
    
public static  voidshowWaitCursorOnWindow(Component caller)
    
final public static  voidwaitForEmptyQueue()
    

Field Detail
ALT_ENTER
final public static KeyStroke ALT_ENTER(Code)



CTRL_ENTER
final public static KeyStroke CTRL_ENTER(Code)



CTRL_TAB
final public static KeyStroke CTRL_TAB(Code)



DO_COMMIT
final public static int DO_COMMIT(Code)



DO_ROLLBACK
final public static int DO_ROLLBACK(Code)



EMPTY_BORDER
final public static Border EMPTY_BORDER(Code)



EMPTY_INSETS
final public static Insets EMPTY_INSETS(Code)



ENTER
final public static KeyStroke ENTER(Code)



EXECUTE_ALL
final public static int EXECUTE_ALL(Code)



FLAT_BUTTON_BORDER
final public static Border FLAT_BUTTON_BORDER(Code)



FOCUSED_CELL_BORDER
final public static LineBorder FOCUSED_CELL_BORDER(Code)



IGNORE_ALL
final public static int IGNORE_ALL(Code)



TAB
final public static KeyStroke TAB(Code)





Method Detail
callRepaint
public static void callRepaint(Component c)(Code)



center
public static void center(Window aWinToCenter, Component aReference)(Code)
Centers the given window either agains anotherone on the screen If a second window is passed the first window is centered against that one
Parameters:
  aWinToCenter - the window to be centered
Parameters:
  aReference - center against this window. If null -> center on screen



checkConnection
public static boolean checkConnection(Component parent, WbConnection dbConnection)(Code)



getBevelBorder
public static Border getBevelBorder()(Code)



getBevelBorderRaised
public static Border getBevelBorderRaised()(Code)



getCommitRollbackQuestion
public static int getCommitRollbackQuestion(Component aCaller, String aMessage)(Code)



getKeyName
public static String getKeyName(int keyCode)(Code)



getLocationToCenter
public static Point getLocationToCenter(Window aWinToCenter, Component aReference)(Code)



getOKCancel
public static boolean getOKCancel(String title, Component aCaller, Component message)(Code)



getOKCancel
public static boolean getOKCancel(String title, Component aCaller, Component message, Runnable doLater)(Code)



getUserInput
public static String getUserInput(Component caller, String aTitle, String initialValue)(Code)



getUserInput
public static String getUserInput(Component caller, String aTitle, String initialValue, boolean hideInput)(Code)



getWindowAncestor
public static Window getWindowAncestor(Component caller)(Code)



getYesNo
public static boolean getYesNo(Component aCaller, String aMessage)(Code)



getYesNo
public static int getYesNo(Component aCaller, String aMessage, String[] options)(Code)



getYesNo
public static int getYesNo(Component aCaller, String aMessage, String[] options, int type)(Code)



getYesNoCancel
public static int getYesNoCancel(Component aCaller, String aMessage)(Code)



getYesNoExecuteAll
public static int getYesNoExecuteAll(Component aCaller, String aMessage)(Code)



getYesNoIgnoreAll
public static int getYesNoIgnoreAll(Component aCaller, String aMessage)(Code)



initPropertyEditors
public static void initPropertyEditors(Object bean, JComponent root)(Code)



invoke
final public static void invoke(Runnable r)(Code)
Synchronously execute code on the EDT. If the current thread is the EDT, this merely calls r.run() otherwise EventQueue.invokeAndWait() is called with the passed runnable. Exceptions that can be thrown by EventQueue.invokeAndWait() are caught and logged.



repaintLater
public static void repaintLater(Component c)(Code)



repaintNow
public static void repaintNow(Component c)(Code)



requestFocus
public static void requestFocus(Window win, JComponent comp)(Code)



requestFocus
public static void requestFocus(JComponent comp)(Code)



showDefaultCursor
public static void showDefaultCursor(Component caller)(Code)



showDefaultCursor
public static void showDefaultCursor(Component caller, boolean includeParents)(Code)



showDefaultCursorOnWindow
public static void showDefaultCursorOnWindow(Component caller)(Code)



showErrorMessage
public static void showErrorMessage(String aMessage)(Code)



showErrorMessage
public static void showErrorMessage(Component aCaller, String aMessage)(Code)



showErrorMessage
public static void showErrorMessage(Component aCaller, String title, String aMessage)(Code)



showErrorMessageKey
public static void showErrorMessageKey(Component aCaller, String key)(Code)



showMessage
public static void showMessage(Component aCaller, Object aMessage)(Code)



showMessage
public static void showMessage(Component aCaller, String title, Object aMessage)(Code)



showMessageKey
public static void showMessageKey(Component aCaller, String aKey)(Code)



showWaitCursor
public static void showWaitCursor(Component caller)(Code)



showWaitCursorOnWindow
public static void showWaitCursorOnWindow(Component caller)(Code)



waitForEmptyQueue
final public static void waitForEmptyQueue()(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.