Java Doc for XWindow.java in  » 6.0-JDK-Platform » solaris » sun » awt » X11 » 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 » 6.0 JDK Platform » solaris » sun.awt.X11 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   sun.awt.X11.XBaseWindow
      sun.awt.X11.XWindow

All known Subclasses:   sun.awt.X11.XBaseMenuWindow,  sun.awt.X11.XWarningWindow,  sun.awt.X11.XComponentPeer,  sun.awt.X11.XContentWindow,
XWindow
public class XWindow extends XBaseWindow implements X11ComponentPeer(Code)


Field Summary
final public static  StringTARGETREPARENTED
    
 ColorbackgroundColor
    
static  Fieldbdata
    
static  intclickCount
    
final static  FontdefaultFont
    
protected  X11GraphicsConfiggraphicsConfig
    
protected  AwtGraphicsConfigDatagraphicsConfigData
    
static  longlastButton
    
static  longlastTime
    
static  WeakReferencelastWindowRef
    
static  intlastXlastY
    
static  Methodm_sendMessage
    
 intoldHeight
    
 intoldWidth
    
 XRepaintAreapaintArea
    
 XWindowparent
    
static  intrbutton
    
 SurfaceDatasurfaceData
    
 Componenttarget
    

Constructor Summary
 XWindow(XCreateWindowParams params)
    
 XWindow()
    
 XWindow(long parentWindow, Rectangle bounds)
    
 XWindow(Component target, long parentWindow, Rectangle bounds)
    
 XWindow(Component target, long parentWindow)
    
 XWindow(Component target)
    
 XWindow(Object target)
    
 XWindow(long parentWindow)
    

Method Summary
public  voiddispose()
    
protected  booleandoEraseBackground()
    
public  voiddoLayout(int x, int y, int width, int height)
    
protected  voidflush()
    
native static  intgetAWTKeyCodeForKeySym(int keysym)
    
public  ColorModelgetColorModel(int transparency)
    
public  ColorModelgetColorModel()
    
public  ComponentgetEventSource()
    
public  FontMetricsgetFontMetrics(Font font)
    
 GraphicsgetGraphics(SurfaceData surfData, Color afore, Color aback, Font afont)
    
public  GraphicsgetGraphics()
    
public  GraphicsConfigurationgetGraphicsConfiguration()
    
public  AwtGraphicsConfigDatagetGraphicsConfigurationData()
    
native static  intgetKeySymForAWTKeyCode(int keycode)
    
public  PointgetLocationOnScreen()
    
static  intgetModifiers(int state, int button, int keyCode)
    
static  intgetMouseMovementSmudge()
    
native  intgetNativeColor(Color clr, GraphicsConfiguration gc)
    
static  longgetParentWindowID(Component target)
    
static  XWindowgetParentXWindowObject(Component target)
    
static  intgetRightButtonNumber()
     Returns true if this event is disabled and shouldn't be passed to Java.
public  SurfaceDatagetSurfaceData()
    
public  ObjectgetTarget()
    
public  RectanglegetTargetBounds()
    
native  longgetTopWindow(long window, long rootWin)
    
protected  String[]getWMClass()
    
native  voidgetWMInsets(long window, long left, long top, long right, long bottom, long border)
    
public  ColorgetWinBackground()
    
native  voidgetWindowBounds(long window, long x, long y, long width, long height)
    
static  intgetXModifiers(AWTKeyStroke stroke)
    
public  voidhandleButtonPressRelease(XEvent xev)
    
public  voidhandleConfigureNotifyEvent(XEvent xev)
    
public  voidhandleExposeEvent(XEvent xev)
    
public  voidhandleExposeEvent(Component target, int x, int y, int w, int h)
    
public  voidhandleKeyPress(XEvent xev)
    
final  voidhandleKeyPress(XKeyEvent ev)
    
public  voidhandleKeyRelease(XEvent xev)
    
public  voidhandleMapNotifyEvent(XEvent xev)
    
public  voidhandleMotionNotify(XEvent xev)
    
public  voidhandleUnmapNotifyEvent(XEvent xev)
    
public  voidhandleXCrossingEvent(XEvent xev)
    
native  booleanhaveCurrentX11InputMethodInstance()
    
protected  voidinitGraphicsConfiguration()
    
public  booleanisEmbedded()
    
 booleanisLocationByPlatform()
    
 booleanisParentOf(XWindow win)
    
 booleanisReparented()
    
 booleanisResizable()
    
 booleanisShowing()
    
 intkeyEventType2Id(int xEventType)
    
 charkeysymToUnicode(long keysym, int state)
     Return unicode character or 0 if no correspondent character found.
public  voidlayout()
    
 voidlogIncomingKeyEvent(XKeyEvent ev)
    
 voidpaint(Graphics g)
    
public  voidpopup(int x, int y, int width, int height)
    
 voidpostEvent(AWTEvent event)
    
static  voidpostEventStatic(AWTEvent event)
    
public  voidpostEventToEventQueue(AWTEvent event)
    
 voidpostInit(XCreateWindowParams params)
    
public  voidpostKeyEvent(int id, long when, int keyCode, char keyChar, int keyLocation, int state, long event, int eventSize)
    
 voidpreInit(XCreateWindowParams params)
    
 booleanprePostEvent(AWTEvent e)
     Returns true if the event has been handled and should not be posted to Java.
public  voidrepaint(int x, int y, int width, int height)
    
public  voidrepaint()
    
public  voidreshape(Rectangle bounds)
    
public  voidreshape(int x, int y, int width, int height)
    
static  voidsendEvent(AWTEvent e)
    
static  voidsetBData(KeyEvent e, byte[] data)
    
public  voidsetBackground(Color c)
    
 voidsetReparented(boolean newValue)
    
 voidupdateSizeHints()
    
 voidupdateSizeHints(int x, int y, int width, int height)
    
 voidupdateSizeHints(int x, int y)
    
 voidvalidateSurface()
    
 voidwinBackground(Color c)
    
native public  booleanx11inputMethodLookupString(long event, long[] keysymArray)
    
final public  voidxSetBackground(Color c)
    

Field Detail
TARGETREPARENTED
final public static String TARGETREPARENTED(Code)



backgroundColor
Color backgroundColor(Code)



bdata
static Field bdata(Code)



clickCount
static int clickCount(Code)



defaultFont
final static Font defaultFont(Code)



graphicsConfig
protected X11GraphicsConfig graphicsConfig(Code)



graphicsConfigData
protected AwtGraphicsConfigData graphicsConfigData(Code)



lastButton
static long lastButton(Code)



lastTime
static long lastTime(Code)



lastWindowRef
static WeakReference lastWindowRef(Code)



lastXlastY
static int lastXlastY(Code)



m_sendMessage
static Method m_sendMessage(Code)



oldHeight
int oldHeight(Code)



oldWidth
int oldWidth(Code)



paintArea
XRepaintArea paintArea(Code)



parent
XWindow parent(Code)



rbutton
static int rbutton(Code)



surfaceData
SurfaceData surfaceData(Code)



target
Component target(Code)




Constructor Detail
XWindow
XWindow(XCreateWindowParams params)(Code)



XWindow
XWindow()(Code)



XWindow
XWindow(long parentWindow, Rectangle bounds)(Code)



XWindow
XWindow(Component target, long parentWindow, Rectangle bounds)(Code)



XWindow
XWindow(Component target, long parentWindow)(Code)



XWindow
XWindow(Component target)(Code)



XWindow
XWindow(Object target)(Code)



XWindow
XWindow(long parentWindow)(Code)




Method Detail
dispose
public void dispose()(Code)



doEraseBackground
protected boolean doEraseBackground()(Code)



doLayout
public void doLayout(int x, int y, int width, int height)(Code)



flush
protected void flush()(Code)



getAWTKeyCodeForKeySym
native static int getAWTKeyCodeForKeySym(int keysym)(Code)



getColorModel
public ColorModel getColorModel(int transparency)(Code)



getColorModel
public ColorModel getColorModel()(Code)



getEventSource
public Component getEventSource()(Code)



getFontMetrics
public FontMetrics getFontMetrics(Font font)(Code)



getGraphics
Graphics getGraphics(SurfaceData surfData, Color afore, Color aback, Font afont)(Code)



getGraphics
public Graphics getGraphics()(Code)



getGraphicsConfiguration
public GraphicsConfiguration getGraphicsConfiguration()(Code)



getGraphicsConfigurationData
public AwtGraphicsConfigData getGraphicsConfigurationData()(Code)



getKeySymForAWTKeyCode
native static int getKeySymForAWTKeyCode(int keycode)(Code)



getLocationOnScreen
public Point getLocationOnScreen()(Code)



getModifiers
static int getModifiers(int state, int button, int keyCode)(Code)



getMouseMovementSmudge
static int getMouseMovementSmudge()(Code)



getNativeColor
native int getNativeColor(Color clr, GraphicsConfiguration gc)(Code)



getParentWindowID
static long getParentWindowID(Component target)(Code)



getParentXWindowObject
static XWindow getParentXWindowObject(Component target)(Code)



getRightButtonNumber
static int getRightButtonNumber()(Code)
Returns true if this event is disabled and shouldn't be passed to Java. Default implementation returns false for all events.



getSurfaceData
public SurfaceData getSurfaceData()(Code)



getTarget
public Object getTarget()(Code)



getTargetBounds
public Rectangle getTargetBounds()(Code)



getTopWindow
native long getTopWindow(long window, long rootWin)(Code)



getWMClass
protected String[] getWMClass()(Code)



getWMInsets
native void getWMInsets(long window, long left, long top, long right, long bottom, long border)(Code)



getWinBackground
public Color getWinBackground()(Code)



getWindowBounds
native void getWindowBounds(long window, long x, long y, long width, long height)(Code)



getXModifiers
static int getXModifiers(AWTKeyStroke stroke)(Code)



handleButtonPressRelease
public void handleButtonPressRelease(XEvent xev)(Code)



handleConfigureNotifyEvent
public void handleConfigureNotifyEvent(XEvent xev)(Code)



handleExposeEvent
public void handleExposeEvent(XEvent xev)(Code)



handleExposeEvent
public void handleExposeEvent(Component target, int x, int y, int w, int h)(Code)



handleKeyPress
public void handleKeyPress(XEvent xev)(Code)



handleKeyPress
final void handleKeyPress(XKeyEvent ev)(Code)



handleKeyRelease
public void handleKeyRelease(XEvent xev)(Code)



handleMapNotifyEvent
public void handleMapNotifyEvent(XEvent xev)(Code)



handleMotionNotify
public void handleMotionNotify(XEvent xev)(Code)



handleUnmapNotifyEvent
public void handleUnmapNotifyEvent(XEvent xev)(Code)



handleXCrossingEvent
public void handleXCrossingEvent(XEvent xev)(Code)



haveCurrentX11InputMethodInstance
native boolean haveCurrentX11InputMethodInstance()(Code)



initGraphicsConfiguration
protected void initGraphicsConfiguration()(Code)



isEmbedded
public boolean isEmbedded()(Code)



isLocationByPlatform
boolean isLocationByPlatform()(Code)



isParentOf
boolean isParentOf(XWindow win)(Code)



isReparented
boolean isReparented()(Code)



isResizable
boolean isResizable()(Code)



isShowing
boolean isShowing()(Code)



keyEventType2Id
int keyEventType2Id(int xEventType)(Code)



keysymToUnicode
char keysymToUnicode(long keysym, int state)(Code)
Return unicode character or 0 if no correspondent character found. Parameter is a keysym basically from keysymdef.h XXX: how about vendor keys? Is there some with Unicode value and not in the list?



layout
public void layout()(Code)



logIncomingKeyEvent
void logIncomingKeyEvent(XKeyEvent ev)(Code)



paint
void paint(Graphics g)(Code)



popup
public void popup(int x, int y, int width, int height)(Code)



postEvent
void postEvent(AWTEvent event)(Code)



postEventStatic
static void postEventStatic(AWTEvent event)(Code)



postEventToEventQueue
public void postEventToEventQueue(AWTEvent event)(Code)



postInit
void postInit(XCreateWindowParams params)(Code)



postKeyEvent
public void postKeyEvent(int id, long when, int keyCode, char keyChar, int keyLocation, int state, long event, int eventSize)(Code)



preInit
void preInit(XCreateWindowParams params)(Code)



prePostEvent
boolean prePostEvent(AWTEvent e)(Code)
Returns true if the event has been handled and should not be posted to Java.



repaint
public void repaint(int x, int y, int width, int height)(Code)



repaint
public void repaint()(Code)



reshape
public void reshape(Rectangle bounds)(Code)



reshape
public void reshape(int x, int y, int width, int height)(Code)



sendEvent
static void sendEvent(AWTEvent e)(Code)



setBData
static void setBData(KeyEvent e, byte[] data)(Code)



setBackground
public void setBackground(Color c)(Code)



setReparented
void setReparented(boolean newValue)(Code)



updateSizeHints
void updateSizeHints()(Code)



updateSizeHints
void updateSizeHints(int x, int y, int width, int height)(Code)



updateSizeHints
void updateSizeHints(int x, int y)(Code)



validateSurface
void validateSurface()(Code)



winBackground
void winBackground(Color c)(Code)



x11inputMethodLookupString
native public boolean x11inputMethodLookupString(long event, long[] keysymArray)(Code)



xSetBackground
final public void xSetBackground(Color c)(Code)



Fields inherited from sun.awt.X11.XBaseWindow
final static int DEF_LOCATION(Code)(Java Doc)
final static int MIN_SIZE(Code)(Java Doc)
final public static String PARENT_WINDOWBOUNDSOVERRIDE_REDIRECTEVENT_MASKVALUE_MASKBORDER_PIXELCOLORMAPDEPTHVISUAL_CLASSVISUALEMBEDDEDDELAYEDPARENTBACKGROUND_PIXMAPVISIBLESAVE_UNDERBACKING_STOREBIT_GRAVITY(Code)(Java Doc)
Set<Long> children(Code)(Java Doc)
boolean embedded(Code)(Java Doc)
int height(Code)(Java Doc)
boolean mapped(Code)(Java Doc)
Rectangle maxBounds(Code)(Java Doc)
volatile XBaseWindow parentWindow(Code)(Java Doc)
protected StateLock state_lock(Code)(Java Doc)
boolean visible(Code)(Java Doc)
int width(Code)(Java Doc)
long window(Code)(Java Doc)
int x(Code)(Java Doc)
int y(Code)(Java Doc)

Methods inherited from sun.awt.X11.XBaseWindow
void awtLock()(Code)(Java Doc)
void awtLockNotifyAll()(Code)(Java Doc)
void awtLockWait() throws InterruptedException(Code)(Java Doc)
void awtUnlock()(Code)(Java Doc)
public boolean checkInitialised()(Code)(Java Doc)
protected void checkParams(XCreateWindowParams params)(Code)(Java Doc)
static void checkSecurity()(Code)(Java Doc)
public boolean contains(int x, int y)(Code)(Java Doc)
public boolean containsGlobal(int x, int y)(Code)(Java Doc)
void destroy()(Code)(Java Doc)
public void dispatchEvent(XEvent xev)(Code)(Java Doc)
static void dispatchToWindow(XEvent ev)(Code)(Java Doc)
void flush()(Code)(Java Doc)
public int getAbsoluteX()(Code)(Java Doc)
public int getAbsoluteY()(Code)(Java Doc)
public Rectangle getBounds()(Code)(Java Doc)
public Set<Long> getChildren()(Code)(Java Doc)
public long getContentWindow()(Code)(Java Doc)
public XBaseWindow getContentXWindow()(Code)(Java Doc)
public XCreateWindowParams getDelayedParams()(Code)(Java Doc)
int getHeight()(Code)(Java Doc)
public XSizeHints getHints()(Code)(Java Doc)
public XBaseWindow getParentWindow()(Code)(Java Doc)
long getScreen()(Code)(Java Doc)
long getScreenNumber()(Code)(Java Doc)
static long getScreenOfWindow(long window)(Code)(Java Doc)
public Dimension getSize()(Code)(Java Doc)
Object getStateLock()(Code)(Java Doc)
public XWindowPeer getToplevelXWindow()(Code)(Java Doc)
public XWMHints getWMHints()(Code)(Java Doc)
protected String getWMName()(Code)(Java Doc)
int getWidth()(Code)(Java Doc)
public long getWindow()(Code)(Java Doc)
int getX()(Code)(Java Doc)
static XRootWindow getXAWTRootWindow()(Code)(Java Doc)
int getY()(Code)(Java Doc)
public boolean grabInput()(Code)(Java Doc)
public void handleButtonPressRelease(XEvent xev)(Code)(Java Doc)
public void handleClientMessage(XEvent xev)(Code)(Java Doc)
public void handleConfigureNotifyEvent(XEvent xev)(Code)(Java Doc)
public void handleCreateNotify(XEvent xev)(Code)(Java Doc)
public void handleDestroyNotify(XEvent xev)(Code)(Java Doc)
public void handleExposeEvent(XEvent xev)(Code)(Java Doc)
public void handleKeyPress(XEvent xev)(Code)(Java Doc)
public void handleKeyRelease(XEvent xev)(Code)(Java Doc)
public void handleMapNotifyEvent(XEvent xev)(Code)(Java Doc)
public void handleMotionNotify(XEvent xev)(Code)(Java Doc)
public void handlePropertyNotify(XEvent xev)(Code)(Java Doc)
public void handleReparentNotifyEvent(XEvent xev)(Code)(Java Doc)
public void handleUnmapNotifyEvent(XEvent xev)(Code)(Java Doc)
public void handleVisibilityEvent(XEvent xev)(Code)(Java Doc)
public void handleXCrossingEvent(XEvent xev)(Code)(Java Doc)
final protected void init(long parentWindow, Rectangle bounds)(Code)(Java Doc)
final protected void init(XCreateWindowParams params)(Code)(Java Doc)
protected void initClientLeader()(Code)(Java Doc)
void instantPreInit(XCreateWindowParams params)(Code)(Java Doc)
boolean isDisposed()(Code)(Java Doc)
protected boolean isEventDisabled(XEvent e)(Code)(Java Doc)
static boolean isFullRelease(int buttonState, int button)(Code)(Java Doc)
static boolean isGrabbedEvent(XEvent ev, XBaseWindow target)(Code)(Java Doc)
boolean isMapped()(Code)(Java Doc)
public boolean isMinSizeSet()(Code)(Java Doc)
boolean isVisible()(Code)(Java Doc)
final protected void postInit()(Code)(Java Doc)
void postInit(XCreateWindowParams params)(Code)(Java Doc)
final protected void preInit()(Code)(Java Doc)
void preInit(XCreateWindowParams params)(Code)(Java Doc)
void setDisposed(boolean d)(Code)(Java Doc)
public void setSizeHints(long flags, int x, int y, int width, int height)(Code)(Java Doc)
void setWMClass(String[] cl)(Code)(Java Doc)
final public void setWMHints(XWMHints hints)(Code)(Java Doc)
public void toFront()(Code)(Java Doc)
Rectangle toGlobal(Rectangle rec)(Code)(Java Doc)
Point toGlobal(Point pt)(Code)(Java Doc)
Point toGlobal(int x, int y)(Code)(Java Doc)
Point toLocal(Point pt)(Code)(Java Doc)
Point toLocal(int x, int y)(Code)(Java Doc)
static Point toOtherWindow(long src, long dst, int x, int y)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
static void ungrabInput()(Code)(Java Doc)
void ungrabInputImpl()(Code)(Java Doc)
void updateWMName()(Code)(Java Doc)
public static long xGetInputFocus()(Code)(Java Doc)
public void xRequestFocus(long time)(Code)(Java Doc)
public void xRequestFocus()(Code)(Java Doc)
public void xSetBounds(Rectangle bounds)(Code)(Java Doc)
public void xSetBounds(int x, int y, int width, int height)(Code)(Java Doc)
public void xSetVisible(boolean visible)(Code)(Java Doc)

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.