Java Doc for LinuxWindow.java in  » Apache-Harmony-Java-SE » org-package » org » apache » harmony » awt » wtk » linux » 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 » Apache Harmony Java SE » org package » org.apache.harmony.awt.wtk.linux 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.harmony.awt.wtk.linux.LinuxWindow

All known Subclasses:   org.apache.harmony.awt.wtk.linux.ContentWindow,
LinuxWindow
class LinuxWindow implements NativeWindow(Code)


Field Summary
final public static  intMAX_WINDOW_HEIGHT
    
final public static  intMAX_WINDOW_WIDTH
    
final public static  intMIN_WINDOW_HEIGHT
    
final public static  intMIN_WINDOW_WIDTH
    
 booleanalwaysOnTop
    
static  booleanautoGrabActive
    
static  LinuxWindowgrabWindow
    
static  booleanmanualGrabActive
    
 booleanmovedresized
    
 InsetssavedInsets
    

Constructor Summary
 LinuxWindow(LinuxWindowFactory factory, CreationParams p)
    
 LinuxWindow(long nativeWindowId, LinuxWindowFactory factory)
    

Method Summary
final static  intadjustedHeight(int height)
    
final static  intadjustedWidth(int width)
    
public  voiddispose()
    
static  voidendAutoGrab()
     Notify that all mouse buttons were released and automatic grab has to be ended.
public  RectanglegetBounds()
    
 ContentWindowgetContentWindow()
    
 intgetCurrentState()
    
 longgetDisplay()
    
 longgetFrameID()
    
public  longgetId()
    
public  InsetsgetInsets()
    
 intgetMapState()
    
public  MultiRectAreagetObscuredRegion(Rectangle part)
    
 LinuxWindowgetParent()
    
 longgetParentID()
    
public  PointgetScreenPos()
    
 intgetState()
    
 RectanglegetWindowRect()
    
public  voidgrabMouse()
    
 booleanisChild()
    
public  booleanisFocusable()
    
 booleanisIconified()
    
 booleanisInputAllowed()
    
 booleanisMaximized()
    
 booleanisPacked()
    
 booleanisUndecorated()
    
 RectangleonBoundsChange(Rectangle newBounds)
    
public  voidplaceAfter(NativeWindow w)
    
 PointqueryPointer()
    
public  voidsetAlwaysOnTop(boolean value)
    
public  voidsetBounds(int x, int y, int w, int h, int boundsMask)
    
 voidsetContentWindow(ContentWindow contentWindow)
    
public  voidsetEnabled(boolean value)
    
public  booleansetFocus(boolean focus)
    
public  voidsetFocusable(boolean value)
    
public  voidsetIMStyle()
    
public  voidsetIconImage(Image image)
    
 voidsetIconified(boolean iconified)
    
 voidsetInputAllowed(boolean value)
    
 voidsetInsets(Insets newInsets)
    
 voidsetMaximized(boolean maximized)
    
public  voidsetMaximizedBounds(Rectangle bounds)
    
public  voidsetPacked(boolean packed)
    
public  voidsetResizable(boolean value)
    
public  voidsetState(int state)
    
public  voidsetTitle(String title)
    
public  voidsetVisible(boolean v)
    
static  booleanstartAutoGrab(long winId, int x, int y)
     Notify that mouse button was pressed.
public  voidtoBack()
    
public  voidtoFront()
    
public  voidungrabMouse()
     End manual mouse grab.
public  InsetsupdateInsets()
    

Field Detail
MAX_WINDOW_HEIGHT
final public static int MAX_WINDOW_HEIGHT(Code)



MAX_WINDOW_WIDTH
final public static int MAX_WINDOW_WIDTH(Code)



MIN_WINDOW_HEIGHT
final public static int MIN_WINDOW_HEIGHT(Code)



MIN_WINDOW_WIDTH
final public static int MIN_WINDOW_WIDTH(Code)



alwaysOnTop
boolean alwaysOnTop(Code)



autoGrabActive
static boolean autoGrabActive(Code)



grabWindow
static LinuxWindow grabWindow(Code)



manualGrabActive
static boolean manualGrabActive(Code)



movedresized
boolean movedresized(Code)



savedInsets
Insets savedInsets(Code)




Constructor Detail
LinuxWindow
LinuxWindow(LinuxWindowFactory factory, CreationParams p)(Code)



LinuxWindow
LinuxWindow(long nativeWindowId, LinuxWindowFactory factory)(Code)




Method Detail
adjustedHeight
final static int adjustedHeight(int height)(Code)



adjustedWidth
final static int adjustedWidth(int width)(Code)



dispose
public void dispose()(Code)



endAutoGrab
static void endAutoGrab()(Code)
Notify that all mouse buttons were released and automatic grab has to be ended. If the manual ungrab was postponed, do it now.



getBounds
public Rectangle getBounds()(Code)
Query window size and position from X server



getContentWindow
ContentWindow getContentWindow()(Code)
Returns the contentWindow.



getCurrentState
int getCurrentState()(Code)



getDisplay
long getDisplay()(Code)
display of the current window



getFrameID
long getFrameID()(Code)



getId
public long getId()(Code)



getInsets
public Insets getInsets()(Code)



getMapState
int getMapState()(Code)



getObscuredRegion
public MultiRectArea getObscuredRegion(Rectangle part)(Code)



getParent
LinuxWindow getParent()(Code)



getParentID
long getParentID()(Code)
actual native parent of a window(for a top-level this maybe a WM frame window)



getScreenPos
public Point getScreenPos()(Code)

See Also:   org.apache.harmony.awt.wtk.NativeWindow.getScreenPos



getState
int getState()(Code)



getWindowRect
Rectangle getWindowRect()(Code)
saved requested window bounds



grabMouse
public void grabMouse()(Code)
Start manual mouse grab



isChild
boolean isChild()(Code)



isFocusable
public boolean isFocusable()(Code)



isIconified
boolean isIconified()(Code)



isInputAllowed
boolean isInputAllowed()(Code)



isMaximized
boolean isMaximized()(Code)



isPacked
boolean isPacked()(Code)
Returns the packed flag.



isUndecorated
boolean isUndecorated()(Code)



onBoundsChange
Rectangle onBoundsChange(Rectangle newBounds)(Code)



placeAfter
public void placeAfter(NativeWindow w)(Code)



queryPointer
Point queryPointer()(Code)



setAlwaysOnTop
public void setAlwaysOnTop(boolean value)(Code)

See Also:   org.apache.harmony.awt.wtk.NativeWindow.setAlwaysOnTop(boolean)



setBounds
public void setBounds(int x, int y, int w, int h, int boundsMask)(Code)



setContentWindow
void setContentWindow(ContentWindow contentWindow)(Code)

Parameters:
  contentWindow - The contentWindow to set.



setEnabled
public void setEnabled(boolean value)(Code)



setFocus
public boolean setFocus(boolean focus)(Code)



setFocusable
public void setFocusable(boolean value)(Code)



setIMStyle
public void setIMStyle()(Code)



setIconImage
public void setIconImage(Image image)(Code)

See Also:   org.apache.harmony.awt.wtk.NativeWindow.setIconImage(java.awt.Image)



setIconified
void setIconified(boolean iconified)(Code)



setInputAllowed
void setInputAllowed(boolean value)(Code)



setInsets
void setInsets(Insets newInsets)(Code)



setMaximized
void setMaximized(boolean maximized)(Code)



setMaximizedBounds
public void setMaximizedBounds(Rectangle bounds)(Code)

See Also:   org.apache.harmony.awt.wtk.NativeWindow.setMaximizedBounds(java.awt.Rectangle)



setPacked
public void setPacked(boolean packed)(Code)

See Also:   org.apache.harmony.awt.wtk.NativeWindow.setPacked(boolean)



setResizable
public void setResizable(boolean value)(Code)



setState
public void setState(int state)(Code)



setTitle
public void setTitle(String title)(Code)



setVisible
public void setVisible(boolean v)(Code)



startAutoGrab
static boolean startAutoGrab(long winId, int x, int y)(Code)
Notify that mouse button was pressed. If there was no manual grab the automatic mouse grab is activated implicitly. Cancel manual grab if it was active and mouse was clicked outside of application windows
Parameters:
  winId - - window that got the event
Parameters:
  x - - x mouse position in window coordinates
Parameters:
  y - - x mouse position in window coordinates false if explicit grab was canceled; true otherwise



toBack
public void toBack()(Code)



toFront
public void toFront()(Code)



ungrabMouse
public void ungrabMouse()(Code)
End manual mouse grab. If automatic grab is still active, the ungrab is postponed until all mouse buttons are released.



updateInsets
public Insets updateInsets()(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.