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


java.lang.Object
   sun.awt.motif.MComponentPeer
      sun.awt.motif.MCanvasPeer
         sun.awt.motif.MPanelPeer
            sun.awt.motif.MWindowPeer

All known Subclasses:   sun.awt.motif.MFramePeer,  sun.awt.motif.MDialogPeer,
MWindowPeer
class MWindowPeer extends MPanelPeer implements WindowPeer,DisplayChangedListener(Code)


Field Summary
static  VectorallWindows
    
 booleanalwaysOnTop
    
 intdropTargetCount
    
 inticonHeight
    
 inticonWidth
    
 Insetsinsets
    
 MWindowAttributeswinAttr
    

Constructor Summary
 MWindowPeer()
    
 MWindowPeer(Window target)
    

Method Summary
public synchronized  voidaddDropTarget()
    
public  voidaddInputMethod(MInputMethod im)
    
public  voidaddTextComponent(MComponentPeer tc)
    
native  voidaddTextComponentNative(MComponentPeer tc)
    
public  booleancheckNativePaintOnSetBounds(int width, int height)
    
 voidcreate(MComponentPeer parent)
    
public  voiddisplayChanged(int screenNum)
    
public  voiddisplayChanged()
     From the DisplayChangedListener interface; called from X11GraphicsDevice when the display mode has been changed.
protected  voiddisposeImpl()
    
public  voiddraggedToNewScreen(int screenNum)
    
public  InsetsgetInsets()
    
native public  intgetState()
    
public  MComponentPeergetTextComponent()
    
public  voidhandleDeiconify()
    
public  voidhandleDestroy()
    
public  voidhandleIconify()
    
public  voidhandleMoved(int x, int y)
    
public  voidhandleQuit()
    
public  voidhandleResize(int width, int height)
     Called to inform the Window that its size has changed and it should layout its children.
public  voidhandleStateChange(int oldState, int newState)
    
public  voidhandleWindowFocusIn()
    
public  voidhandleWindowFocusOut(Window oppositeWindow)
    
 booleanhasDecorations(int decor)
    
 voidinit(Window target)
    
public  Insetsinsets()
     DEPRECATED: Replaced by getInsets().
 booleanisOwnerOf(MComponentPeer child)
    
 voidnotifyIMMOptionChange()
    
native  voidpCreate(MComponentPeer parent, String targetClassName, boolean isFocusableWindow)
    
native  voidpDispose()
    
native  voidpHide()
    
native  voidpReshape(int x, int y, int width, int height)
    
native  voidpSetIMMOption(String option)
    
native  voidpSetMenuBar(MMenuBarPeer mbpeer)
    
native  voidpSetTitle(String title)
    
native  voidpShow()
    
native  voidpShowModal(boolean isModal)
    
native  voidpToFront()
    
public  voidpaletteChanged()
     From the DisplayChangedListener interface; top-levels do not need to react to this event.
public  voidpostUngrabEvent()
    
 booleanprocessUngrabMouseEvent(MComponentPeer compPeer, int x_root, int y_root, int type)
    
native  voidregisterX11DropTarget(Component target)
    
public synchronized  voidremoveDropTarget()
    
public  voidremoveInputMethod(MInputMethod im)
    
public  voidremoveTextComponent(MComponentPeer tc)
    
native  voidremoveTextComponentNative()
    
public  booleanrequestWindowFocus()
    
native  voidresetTargetGC(Component target)
    
public  voidsetAlwaysOnTop(boolean alwaysOnTop)
    
native  voidsetFocusableWindow(boolean value)
    
public  voidsetModalBlocked(Dialog blocker, boolean blocked)
    
native public  voidsetResizable(boolean resizable)
    
native  voidsetSaveUnder(boolean state)
    
native public  voidsetState(int state)
    
public  voidsetVisible(boolean b)
    
native public  voidtoBack()
    
public  voidtoFront()
    
native  voidunregisterX11DropTarget(Component target)
    
native  voidupdateAlwaysOnTop(boolean isAlwaysOnTop)
    
protected synchronized  voidupdateDropTarget()
    
public  voidupdateFocusableWindowState()
    
public  voidupdateIconImages()
    
public  voidupdateMinimumSize()
    

Field Detail
allWindows
static Vector allWindows(Code)



alwaysOnTop
boolean alwaysOnTop(Code)



dropTargetCount
int dropTargetCount(Code)



iconHeight
int iconHeight(Code)



iconWidth
int iconWidth(Code)



insets
Insets insets(Code)



winAttr
MWindowAttributes winAttr(Code)




Constructor Detail
MWindowPeer
MWindowPeer()(Code)



MWindowPeer
MWindowPeer(Window target)(Code)




Method Detail
addDropTarget
public synchronized void addDropTarget()(Code)



addInputMethod
public void addInputMethod(MInputMethod im)(Code)



addTextComponent
public void addTextComponent(MComponentPeer tc)(Code)



addTextComponentNative
native void addTextComponentNative(MComponentPeer tc)(Code)



checkNativePaintOnSetBounds
public boolean checkNativePaintOnSetBounds(int width, int height)(Code)



create
void create(MComponentPeer parent)(Code)



displayChanged
public void displayChanged(int screenNum)(Code)



displayChanged
public void displayChanged()(Code)
From the DisplayChangedListener interface; called from X11GraphicsDevice when the display mode has been changed.



disposeImpl
protected void disposeImpl()(Code)



draggedToNewScreen
public void draggedToNewScreen(int screenNum)(Code)



getInsets
public Insets getInsets()(Code)



getState
native public int getState()(Code)



getTextComponent
public MComponentPeer getTextComponent()(Code)



handleDeiconify
public void handleDeiconify()(Code)



handleDestroy
public void handleDestroy()(Code)



handleIconify
public void handleIconify()(Code)



handleMoved
public void handleMoved(int x, int y)(Code)



handleQuit
public void handleQuit()(Code)



handleResize
public void handleResize(int width, int height)(Code)
Called to inform the Window that its size has changed and it should layout its children.



handleStateChange
public void handleStateChange(int oldState, int newState)(Code)



handleWindowFocusIn
public void handleWindowFocusIn()(Code)



handleWindowFocusOut
public void handleWindowFocusOut(Window oppositeWindow)(Code)



hasDecorations
boolean hasDecorations(int decor)(Code)



init
void init(Window target)(Code)



insets
public Insets insets()(Code)
DEPRECATED: Replaced by getInsets().



isOwnerOf
boolean isOwnerOf(MComponentPeer child)(Code)



notifyIMMOptionChange
void notifyIMMOptionChange()(Code)



pCreate
native void pCreate(MComponentPeer parent, String targetClassName, boolean isFocusableWindow)(Code)



pDispose
native void pDispose()(Code)



pHide
native void pHide()(Code)



pReshape
native void pReshape(int x, int y, int width, int height)(Code)



pSetIMMOption
native void pSetIMMOption(String option)(Code)



pSetMenuBar
native void pSetMenuBar(MMenuBarPeer mbpeer)(Code)



pSetTitle
native void pSetTitle(String title)(Code)



pShow
native void pShow()(Code)



pShowModal
native void pShowModal(boolean isModal)(Code)



pToFront
native void pToFront()(Code)



paletteChanged
public void paletteChanged()(Code)
From the DisplayChangedListener interface; top-levels do not need to react to this event.



postUngrabEvent
public void postUngrabEvent()(Code)



processUngrabMouseEvent
boolean processUngrabMouseEvent(MComponentPeer compPeer, int x_root, int y_root, int type)(Code)



registerX11DropTarget
native void registerX11DropTarget(Component target)(Code)



removeDropTarget
public synchronized void removeDropTarget()(Code)



removeInputMethod
public void removeInputMethod(MInputMethod im)(Code)



removeTextComponent
public void removeTextComponent(MComponentPeer tc)(Code)



removeTextComponentNative
native void removeTextComponentNative()(Code)



requestWindowFocus
public boolean requestWindowFocus()(Code)



resetTargetGC
native void resetTargetGC(Component target)(Code)



setAlwaysOnTop
public void setAlwaysOnTop(boolean alwaysOnTop)(Code)



setFocusableWindow
native void setFocusableWindow(boolean value)(Code)



setModalBlocked
public void setModalBlocked(Dialog blocker, boolean blocked)(Code)



setResizable
native public void setResizable(boolean resizable)(Code)



setSaveUnder
native void setSaveUnder(boolean state)(Code)



setState
native public void setState(int state)(Code)



setVisible
public void setVisible(boolean b)(Code)



toBack
native public void toBack()(Code)



toFront
public void toFront()(Code)



unregisterX11DropTarget
native void unregisterX11DropTarget(Component target)(Code)



updateAlwaysOnTop
native void updateAlwaysOnTop(boolean isAlwaysOnTop)(Code)



updateDropTarget
protected synchronized void updateDropTarget()(Code)



updateFocusableWindowState
public void updateFocusableWindowState()(Code)



updateIconImages
public void updateIconImages()(Code)



updateMinimumSize
public void updateMinimumSize()(Code)



Methods inherited from sun.awt.motif.MPanelPeer
public void displayChanged(int screenNum)(Code)(Java Doc)
public Insets getInsets()(Code)(Java Doc)
public Insets insets()(Code)(Java Doc)
public boolean isRestackSupported()(Code)(Java Doc)
public void paint(Graphics g)(Code)(Java Doc)
public void print(Graphics g)(Code)(Java Doc)
public void restack()(Code)(Java Doc)
public void setBackground(Color c)(Code)(Java Doc)
public void setForeground(Color c)(Code)(Java Doc)
protected boolean shouldFocusOnClick()(Code)(Java Doc)

Methods inherited from sun.awt.motif.MCanvasPeer
native void create(MComponentPeer parent)(Code)(Java Doc)
public void displayChanged()(Code)(Java Doc)
public void displayChanged(int screenNum)(Code)(Java Doc)
public void paletteChanged()(Code)(Java Doc)
void resetLocalGC(int screenNum)(Code)(Java Doc)
native void resetTargetGC(Component target)(Code)(Java Doc)
protected boolean shouldFocusOnClick()(Code)(Java Doc)

Fields inherited from sun.awt.motif.MComponentPeer
final static int MOTIF_NA(Code)(Java Doc)
final static int MOTIF_V1(Code)(Java Doc)
final static int MOTIF_V2(Code)(Java Doc)
final static Font defaultFont(Code)(Java Doc)
protected boolean disposed(Code)(Java Doc)
protected X11GraphicsConfig graphicsConfig(Code)(Java Doc)
boolean isLayouting(Code)(Java Doc)
long jniGlobalRef(Code)(Java Doc)
int oldHeight(Code)(Java Doc)
int oldWidth(Code)(Java Doc)
long pData(Code)(Java Doc)
boolean paintPending(Code)(Java Doc)
static Method requestFocusWithCause(Code)(Java Doc)
public int serialNum(Code)(Java Doc)
SurfaceData surfaceData(Code)(Java Doc)
Component target(Code)(Java Doc)

Methods inherited from sun.awt.motif.MComponentPeer
void EFcreate(MComponentPeer parent, int x)(Code)(Java Doc)
native boolean _requestFocus(Component lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time, CausedFocusEvent.Cause cause)(Code)(Java Doc)
public void addDropTarget(DropTarget dt)(Code)(Java Doc)
native void addNativeDropTarget(DropTarget dt)(Code)(Java Doc)
public void beginLayout()(Code)(Java Doc)
public void beginValidate()(Code)(Java Doc)
static void callRequestFocusInWindow(Component target, CausedFocusEvent.Cause cause)(Code)(Java Doc)
static boolean canBeFocusedByClick(Component component)(Code)(Java Doc)
public boolean canDetermineObscurity()(Code)(Java Doc)
public int checkImage(Image img, int w, int h, ImageObserver o)(Code)(Java Doc)
public boolean checkNativePaintOnSetBounds(int width, int height)(Code)(Java Doc)
public void coalescePaintEvent(PaintEvent e)(Code)(Java Doc)
abstract void create(MComponentPeer parent)(Code)(Java Doc)
void create(MComponentPeer parent, Object arg)(Code)(Java Doc)
public void createBuffers(int numBuffers, BufferCapabilities caps) throws AWTException(Code)(Java Doc)
public Image createImage(ImageProducer producer)(Code)(Java Doc)
public Image createImage(int width, int height)(Code)(Java Doc)
public VolatileImage createVolatileImage(int width, int height)(Code)(Java Doc)
public void destroyBuffers()(Code)(Java Doc)
public void disable()(Code)(Java Doc)
final public void dispose()(Code)(Java Doc)
protected void disposeImpl()(Code)(Java Doc)
void draw3DOval(Graphics g, Color bg, int x, int y, int w, int h, boolean raised)(Code)(Java Doc)
void draw3DRect(Graphics g, Color bg, int x, int y, int width, int height, boolean raised)(Code)(Java Doc)
void drawScrollbar(Graphics g, Color bg, int thickness, int length, int min, int max, int val, int vis, boolean horizontal)(Code)(Java Doc)
public void enable()(Code)(Java Doc)
public void endLayout()(Code)(Java Doc)
public void endValidate()(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
public void flip(BufferCapabilities.FlipContents flipAction)(Code)(Java Doc)
public Image getBackBuffer()(Code)(Java Doc)
public Rectangle getBounds()(Code)(Java Doc)
public ColorModel getColorModel()(Code)(Java Doc)
public ColorModel getColorModel(int transparency)(Code)(Java Doc)
native static Component[] getComponents_NoClientCode(Container container)(Code)(Java Doc)
public long getContentWindow()(Code)(Java Doc)
public FontMetrics getFontMetrics(Font font)(Code)(Java Doc)
public synchronized Graphics getGraphics()(Code)(Java Doc)
public GraphicsConfiguration getGraphicsConfiguration()(Code)(Java Doc)
public Point getLocationOnScreen()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
native int getNativeColor(Color clr, GraphicsConfiguration gc)(Code)(Java Doc)
native static Window getNativeFocusedWindow()(Code)(Java Doc)
native static Container getParent_NoClientCode(Component component)(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
public SurfaceData getSurfaceData()(Code)(Java Doc)
public Object getTarget()(Code)(Java Doc)
public java.awt.Toolkit getToolkit()(Code)(Java Doc)
public int getZOrderPosition_NoClientCode()(Code)(Java Doc)
public void handleEvent(AWTEvent e)(Code)(Java Doc)
void handleExpose(int x, int y, int w, int h)(Code)(Java Doc)
void handleRepaint(int x, int y, int w, int h)(Code)(Java Doc)
public boolean handlesWheelScrolling()(Code)(Java Doc)
public void hide()(Code)(Java Doc)
public void init(Component target, Object arg)(Code)(Java Doc)
public void init(Component target)(Code)(Java Doc)
void initialize()(Code)(Java Doc)
public boolean isFocusable()(Code)(Java Doc)
public boolean isObscured()(Code)(Java Doc)
public boolean isPaintPending()(Code)(Java Doc)
public boolean isReparentSupported()(Code)(Java Doc)
public void layout()(Code)(Java Doc)
public Dimension minimumSize()(Code)(Java Doc)
native void nativeHandleEvent(AWTEvent e)(Code)(Java Doc)
public void notifyTextComponentChange(boolean add)(Code)(Java Doc)
native void pDisable()(Code)(Java Doc)
native void pDispose()(Code)(Java Doc)
native void pEnable()(Code)(Java Doc)
native Point pGetLocationOnScreen()(Code)(Java Doc)
native Point pGetLocationOnScreen2(Window win, MWindowPeer wpeer)(Code)(Java Doc)
native void pHide()(Code)(Java Doc)
native void pInitialize()(Code)(Java Doc)
native void pMakeCursorVisible()(Code)(Java Doc)
native void pReshape(int x, int y, int width, int height)(Code)(Java Doc)
native void pSetBackground(Color c)(Code)(Java Doc)
native public void pSetCursor(Cursor c)(Code)(Java Doc)
native void pSetForeground(Color c)(Code)(Java Doc)
native public void pSetInnerForeground(Color c)(Code)(Java Doc)
native public void pSetScrollbarBackground(Color c)(Code)(Java Doc)
native void pShow()(Code)(Java Doc)
public void paint(Graphics g)(Code)(Java Doc)
void postEvent(AWTEvent event)(Code)(Java Doc)
public Dimension preferredSize()(Code)(Java Doc)
public boolean prepareImage(Image img, int w, int h, ImageObserver o)(Code)(Java Doc)
public void print(Graphics g)(Code)(Java Doc)
native static boolean processSynchronousLightweightTransfer(Component heavyweight, Component descendant, boolean temporary, boolean focusedWindowChangeAllowed, long time)(Code)(Java Doc)
public void removeDropTarget(DropTarget dt)(Code)(Java Doc)
native void removeNativeDropTarget(DropTarget dt)(Code)(Java Doc)
public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc)
public void reparent(ContainerPeer newNativeParent)(Code)(Java Doc)
public boolean requestFocus(Component lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time, CausedFocusEvent.Cause cause)(Code)(Java Doc)
public void reshape(int x, int y, int width, int height)(Code)(Java Doc)
native void restoreFocus()(Code)(Java Doc)
public void setBackground(Color c)(Code)(Java Doc)
void setBounds(int x, int y, int width, int height)(Code)(Java Doc)
public void setBounds(int x, int y, int width, int height, int op)(Code)(Java Doc)
public void setEnabled(boolean b)(Code)(Java Doc)
public void setFont(Font f)(Code)(Java Doc)
public void setForeground(Color c)(Code)(Java Doc)
native public void setTargetBackground(Color c)(Code)(Java Doc)
public void setVisible(boolean b)(Code)(Java Doc)
protected boolean shouldFocusOnClick()(Code)(Java Doc)
public void show()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public void updateCursorImmediately()(Code)(Java Doc)
public int updatePriority()(Code)(Java Doc)
void validateSurface(int width, int height)(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.