Java Doc for XListPeer.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
         sun.awt.X11.XComponentPeer
            sun.awt.X11.XListPeer

XListPeer
class XListPeer extends XComponentPeer implements ListPeer,XScrollbarClient(Code)

Inner Class :class ListPainter

Field Summary
final public static  intDEFAULT_VISIBLE_ROWS
    
final public static  intHORIZ_SCROLL_AMT
    
final public static  intHORSCROLLBAR
    
final public static  intMARGIN
    
final public static  intNONE
    
final static  intPAINT_VSCROLLPAINT_HSCROLLPAINT_ITEMSPAINT_FOCUSPAINT_BACKGROUNDPAINT_HIDEFOCUSPAINT_ALL
    
final public static  intSCROLLBAR_AREA
    
final public static  intSCROLLBAR_WIDTH
    
final public static  intSPACE
    
final public static  intVERSCROLLBAR
    
final public static  intWINDOW
    
 intactive
    
 booleanbgColorSet
    
 intcurrentIndex
    
 inteventIndex
    
 inteventType
    
 booleanfgColorSet
    
 intfocusIndex
    
 intfontAscent
    
 intfontHeight
    
 intfontLeading
    
 XHorizontalScrollbarhsb
    
 booleanhsbVis
    
 booleanisMousePressed
    
 booleanisScrollBarOriginated
    
 Vectoritems
    
 intlistHeight
    
 intlistWidth
    
 intmaxLength
    
 booleanmouseDraggedOutHorizontally
    
 booleanmouseDraggedOutVertically
    
 booleanmultipleSelections
    
 ListPainterpainter
    
 intselected
    
 XVerticalScrollbarvsb
    
 booleanvsbVis
    

Constructor Summary
 XListPeer(List target)
    

Method Summary
public  voidadd(String item, int index)
    
public  voidaddItem(String item, int i)
    
public  voidclear()
    
 voidcreateHorScrollbar()
    
 voidcreateVerScrollbar()
    
public  voiddelItems(int s, int e)
    
public  voiddeselect(int index)
    
 voiddeselectItem(int index)
    
public  voidfocusGained(FocusEvent e)
    
public  voidfocusLost(FocusEvent e)
    
 intgetFirstVisibleItem()
    
 intgetFocusIndex()
    
 RectanglegetFocusRect()
     Update and return the focus rectangle.
 RectanglegetHScrollBarRec()
    
 AreagetItemArea(int item)
    
 intgetItemHeight()
    
 RectanglegetItemRect(int item)
    
 intgetItemWidth(int i)
    
 intgetItemWidth()
    
 intgetItemX()
    
 intgetItemY(int item)
    
 AreagetItemsArea(int firstItem, int lastItem)
    
 intgetLastVisibleItem()
    
 intgetListWidth()
    
public  DimensiongetMinimumSize(int rows)
    
public  DimensiongetPreferredSize(int rows)
    
public  int[]getSelectedIndexes()
    
 RectanglegetVScrollBarRec()
    
public  voidhandleConfigureNotifyEvent(XEvent xev)
    
 voidhandleJavaKeyEvent(KeyEvent e)
    
 voidhandleJavaMouseEvent(MouseEvent e)
    
 voidhandleJavaMouseEventOnEDT(MouseEvent me)
    
 voidhandleJavaMouseWheelEvent(MouseWheelEvent e)
    
public  booleanhandlesWheelScrolling()
    
 booleanhsbIsVisible(boolean vsbVisible)
    
 booleaninHorizontalScrollbar(int x, int y)
    
 booleaninVerticalScrollbar(int x, int y)
    
 booleaninWindow(int x, int y)
    
 intindex2y(int index)
     return the y value of the given index "i".
 voidinitFontMetrics()
    
public  booleanisFocusable()
    
 booleanisIndexDisplayed(int idx)
    
 booleanisItemHidden(int index)
     returns whether the given index is currently scrolled off the top or bottom of the List.
 booleanisSelected(int index)
    
 intitemsDisplayed()
    
 intitemsInWindow(boolean scrollbarVisible)
    
 intitemsInWindow()
    
 voidkeyPressed(KeyEvent e)
    
 intlastItemDisplayed()
    
public  voidlayout()
     Layout the sub-components of the List - that is, the scrollbars and the list of items.
public  voidmakeVisible(int index)
     ensure that the given index is visible, scrolling the List if necessary, or doing nothing if the item is already visible.
 intmaxLength()
    
public  DimensionminimumSize()
     Minimum size.
public  DimensionminimumSize(int v)
    
 voidmouseDragged(MouseEvent mouseEvent)
    
 voidmousePressed(MouseEvent mouseEvent)
    
 voidmouseReleased(MouseEvent mouseEvent)
    
public  voidnotifyValue(XScrollbar obj, int type, int v, boolean isAdjusting)
    
public  voidpaint(Graphics g)
    
 intposInSel(int index)
    
public  voidpostInit(XCreateWindowParams params)
    
public  voidpreInit(XCreateWindowParams params)
    
 booleanprePostEvent(AWTEvent e)
    
 booleanprePostMouseEvent(MouseEvent me)
    
public  DimensionpreferredSize(int v)
    
public  voidremoveAll()
    
public  voidrepaint()
    
public  voidrepaint(int options)
    
public  voidrepaint(int firstItem, int lastItem, int options)
    
public  voidrepaintScrollbarRequest(XScrollbar scrollbar)
    
 voidscrollHorizontal(int x)
    
 voidscrollVertical(int y)
    
public  voidselect(int index)
    
 voidselectItem(int index)
    
public  voidsetBackground(Color c)
    
 voidsetFocusIndex(int value)
    
public  voidsetFont(Font f)
    
public  voidsetForeground(Color c)
    
public  voidsetMultipleMode(boolean b)
    
public  voidsetMultipleSelections(boolean v)
    
 intstringLength(String str)
    
 voidtrackMouseDraggedScroll(MouseEvent mouseEvent)
    
 voidtrackMouseReleasedScroll()
    
 booleanvalidY(int y)
    
 booleanvsbIsVisible(boolean hsbVisible)
    
 inty2index(int y)
    

Field Detail
DEFAULT_VISIBLE_ROWS
final public static int DEFAULT_VISIBLE_ROWS(Code)



HORIZ_SCROLL_AMT
final public static int HORIZ_SCROLL_AMT(Code)



HORSCROLLBAR
final public static int HORSCROLLBAR(Code)



MARGIN
final public static int MARGIN(Code)



NONE
final public static int NONE(Code)



PAINT_VSCROLLPAINT_HSCROLLPAINT_ITEMSPAINT_FOCUSPAINT_BACKGROUNDPAINT_HIDEFOCUSPAINT_ALL
final static int PAINT_VSCROLLPAINT_HSCROLLPAINT_ITEMSPAINT_FOCUSPAINT_BACKGROUNDPAINT_HIDEFOCUSPAINT_ALL(Code)



SCROLLBAR_AREA
final public static int SCROLLBAR_AREA(Code)



SCROLLBAR_WIDTH
final public static int SCROLLBAR_WIDTH(Code)



SPACE
final public static int SPACE(Code)



VERSCROLLBAR
final public static int VERSCROLLBAR(Code)



WINDOW
final public static int WINDOW(Code)



active
int active(Code)



bgColorSet
boolean bgColorSet(Code)



currentIndex
int currentIndex(Code)



eventIndex
int eventIndex(Code)



eventType
int eventType(Code)



fgColorSet
boolean fgColorSet(Code)



focusIndex
int focusIndex(Code)



fontAscent
int fontAscent(Code)



fontHeight
int fontHeight(Code)



fontLeading
int fontLeading(Code)



hsb
XHorizontalScrollbar hsb(Code)



hsbVis
boolean hsbVis(Code)



isMousePressed
boolean isMousePressed(Code)



isScrollBarOriginated
boolean isScrollBarOriginated(Code)



items
Vector items(Code)



listHeight
int listHeight(Code)



listWidth
int listWidth(Code)



maxLength
int maxLength(Code)



mouseDraggedOutHorizontally
boolean mouseDraggedOutHorizontally(Code)



mouseDraggedOutVertically
boolean mouseDraggedOutVertically(Code)



multipleSelections
boolean multipleSelections(Code)



painter
ListPainter painter(Code)



selected
int selected(Code)



vsb
XVerticalScrollbar vsb(Code)



vsbVis
boolean vsbVis(Code)




Constructor Detail
XListPeer
XListPeer(List target)(Code)
Create a list




Method Detail
add
public void add(String item, int index)(Code)



addItem
public void addItem(String item, int i)(Code)
add an item if the index of the item is < 0 or >= than items.size() then add the item to the end of the list



clear
public void clear()(Code)
clear



createHorScrollbar
void createHorScrollbar()(Code)
add Horizontal scrollbar



createVerScrollbar
void createVerScrollbar()(Code)
add Vertical Scrollbar



delItems
public void delItems(int s, int e)(Code)
delete items starting with s (start position) to e (end position) including s and e if s < 0 then s = 0 if e >= items.size() then e = items.size() - 1



deselect
public void deselect(int index)(Code)
ListPeer method focusedIndex isn't updated according to native (Window, Motif) behaviour



deselectItem
void deselectItem(int index)(Code)
deselect the index redraw the list to the screen



focusGained
public void focusGained(FocusEvent e)(Code)



focusLost
public void focusLost(FocusEvent e)(Code)



getFirstVisibleItem
int getFirstVisibleItem()(Code)



getFocusIndex
int getFocusIndex()(Code)



getFocusRect
Rectangle getFocusRect()(Code)
Update and return the focus rectangle. Focus is around the focused item, if it is visible, or around the border of the list if the focused item is scrolled off the top or bottom of the list.



getHScrollBarRec
Rectangle getHScrollBarRec()(Code)



getItemArea
Area getItemArea(int item)(Code)



getItemHeight
int getItemHeight()(Code)



getItemRect
Rectangle getItemRect(int item)(Code)



getItemWidth
int getItemWidth(int i)(Code)
Calculates the width of item's label



getItemWidth
int getItemWidth()(Code)



getItemX
int getItemX()(Code)



getItemY
int getItemY(int item)(Code)



getItemsArea
Area getItemsArea(int firstItem, int lastItem)(Code)



getLastVisibleItem
int getLastVisibleItem()(Code)



getListWidth
int getListWidth()(Code)
returns the width of the list portion of the component (accounts for presence of vertical scrollbar)



getMinimumSize
public Dimension getMinimumSize(int rows)(Code)



getPreferredSize
public Dimension getPreferredSize(int rows)(Code)



getSelectedIndexes
public int[] getSelectedIndexes()(Code)
return the selected indexes



getVScrollBarRec
Rectangle getVScrollBarRec()(Code)



handleConfigureNotifyEvent
public void handleConfigureNotifyEvent(XEvent xev)(Code)



handleJavaKeyEvent
void handleJavaKeyEvent(KeyEvent e)(Code)



handleJavaMouseEvent
void handleJavaMouseEvent(MouseEvent e)(Code)



handleJavaMouseEventOnEDT
void handleJavaMouseEventOnEDT(MouseEvent me)(Code)



handleJavaMouseWheelEvent
void handleJavaMouseWheelEvent(MouseWheelEvent e)(Code)



handlesWheelScrolling
public boolean handlesWheelScrolling()(Code)



hsbIsVisible
boolean hsbIsVisible(boolean vsbVisible)(Code)
return true if horizontal scrollbar is visible and false otherwise; vsbVisible is the visibility of the vertical scrollbar



inHorizontalScrollbar
boolean inHorizontalScrollbar(int x, int y)(Code)
return true if the x and y position is in the horizontal scrollbar



inVerticalScrollbar
boolean inVerticalScrollbar(int x, int y)(Code)
return true if the x and y position is in the verticalscrollbar



inWindow
boolean inWindow(int x, int y)(Code)
return true if the x and y position is in the window



index2y
int index2y(int index)(Code)
return the y value of the given index "i". the y value represents the top of the text NOTE: index can be larger than items.size as long as it can fit the window



initFontMetrics
void initFontMetrics()(Code)
Calculate font metrics



isFocusable
public boolean isFocusable()(Code)



isIndexDisplayed
boolean isIndexDisplayed(int idx)(Code)



isItemHidden
boolean isItemHidden(int index)(Code)
returns whether the given index is currently scrolled off the top or bottom of the List.



isSelected
boolean isSelected(int index)(Code)
is the index "index" selected



itemsDisplayed
int itemsDisplayed()(Code)
returns number of items actually displayed in the List



itemsInWindow
int itemsInWindow(boolean scrollbarVisible)(Code)
return the number of items that can fit in the current window



itemsInWindow
int itemsInWindow()(Code)



keyPressed
void keyPressed(KeyEvent e)(Code)



lastItemDisplayed
int lastItemDisplayed()(Code)
returns index of last item displayed in the List



layout
public void layout()(Code)
Layout the sub-components of the List - that is, the scrollbars and the list of items.



makeVisible
public void makeVisible(int index)(Code)
ensure that the given index is visible, scrolling the List if necessary, or doing nothing if the item is already visible. The List must be repainted for changes to be visible.



maxLength
int maxLength()(Code)
return the length of the largest item in the list



minimumSize
public Dimension minimumSize()(Code)
Minimum size.



minimumSize
public Dimension minimumSize(int v)(Code)
return the minimumsize



mouseDragged
void mouseDragged(MouseEvent mouseEvent)(Code)



mousePressed
void mousePressed(MouseEvent mouseEvent)(Code)



mouseReleased
void mouseReleased(MouseEvent mouseEvent)(Code)



notifyValue
public void notifyValue(XScrollbar obj, int type, int v, boolean isAdjusting)(Code)
return value from the scrollbar



paint
public void paint(Graphics g)(Code)



posInSel
int posInSel(int index)(Code)
return the position of the index in the selected array if the index isn't in the array selected return -1;



postInit
public void postInit(XCreateWindowParams params)(Code)



preInit
public void preInit(XCreateWindowParams params)(Code)
Overridden from XWindow



prePostEvent
boolean prePostEvent(AWTEvent e)(Code)



prePostMouseEvent
boolean prePostMouseEvent(MouseEvent me)(Code)



preferredSize
public Dimension preferredSize(int v)(Code)
return the preferredSize



removeAll
public void removeAll()(Code)



repaint
public void repaint()(Code)
Overridden for performance



repaint
public void repaint(int options)(Code)



repaint
public void repaint(int firstItem, int lastItem, int options)(Code)



repaintScrollbarRequest
public void repaintScrollbarRequest(XScrollbar scrollbar)(Code)



scrollHorizontal
void scrollHorizontal(int x)(Code)
scrollHorizontal x is the number of pixels to scroll



scrollVertical
void scrollVertical(int y)(Code)
scrollVertical y is the number of items to scroll



select
public void select(int index)(Code)
ListPeer method



selectItem
void selectItem(int index)(Code)
select the index redraw the list to the screen



setBackground
public void setBackground(Color c)(Code)



setFocusIndex
void setFocusIndex(int value)(Code)



setFont
public void setFont(Font f)(Code)



setForeground
public void setForeground(Color c)(Code)



setMultipleMode
public void setMultipleMode(boolean b)(Code)



setMultipleSelections
public void setMultipleSelections(boolean v)(Code)
set multiple selections



stringLength
int stringLength(String str)(Code)
return the on-screen width of the given string "str"



trackMouseDraggedScroll
void trackMouseDraggedScroll(MouseEvent mouseEvent)(Code)



trackMouseReleasedScroll
void trackMouseReleasedScroll()(Code)



validY
boolean validY(int y)(Code)



vsbIsVisible
boolean vsbIsVisible(boolean hsbVisible)(Code)
return true if vertical scrollbar is visible and false otherwise; hsbVisible is the visibility of the horizontal scrollbar



y2index
int y2index(int y)(Code)
return the index



Fields inherited from sun.awt.X11.XComponentPeer
final static int BACKGROUND_COLOR(Code)(Java Doc)
final static int FOREGROUND_COLOR(Code)(Java Doc)
final static int HIGHLIGHT_COLOR(Code)(Java Doc)
final static int SHADOW_COLOR(Code)(Java Doc)
final static int SNFH_FAILURE(Code)(Java Doc)
final static int SNFH_SUCCESS_HANDLED(Code)(Java Doc)
final static int SNFH_SUCCESS_PROCEED(Code)(Java Doc)
boolean bHasFocus(Code)(Java Doc)
Color background(Code)(Java Doc)
protected int boundsOperation(Code)(Java Doc)
Color darkShadow(Code)(Java Doc)
boolean enabled(Code)(Java Doc)
Font font(Code)(Java Doc)
Color foreground(Code)(Java Doc)
boolean isLayouting(Code)(Java Doc)
Color lightShadow(Code)(Java Doc)
boolean paintPending(Code)(Java Doc)
static Method processSynchronousLightweightTransferMethod(Code)(Java Doc)
static Method requestFocusWithCause(Code)(Java Doc)
Color selectColor(Code)(Java Doc)
static Color[] systemColors(Code)(Java Doc)

Methods inherited from sun.awt.X11.XComponentPeer
public void addDropTarget(DropTarget dt)(Code)(Java Doc)
public void beginLayout()(Code)(Java Doc)
public void beginValidate()(Code)(Java Doc)
static void callRequestFocus(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 void coalescePaintEvent(PaintEvent e)(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)
public void draw3DOval(Graphics g, Color colors, int x, int y, int w, int h, boolean raised)(Code)(Java Doc)
void draw3DOval(Graphics g, Color bg, int x, int y, int w, int h, boolean raised)(Code)(Java Doc)
public void draw3DRect(Graphics g, Color colors, int x, int y, int width, int height, boolean raised)(Code)(Java Doc)
void draw3DRect(Graphics g, Color bg, int x, int y, int width, int height, boolean raised)(Code)(Java Doc)
public void drawMotif3DRect(Graphics g, int x, int y, int width, int height, boolean topShadow)(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)
public void flip(BufferCapabilities.FlipContents flipAction)(Code)(Java Doc)
public void focusGained(FocusEvent e)(Code)(Java Doc)
public void focusLost(FocusEvent e)(Code)(Java Doc)
public Image getBackBuffer()(Code)(Java Doc)
static Window getContainingWindow(Component comp)(Code)(Java Doc)
public Font getFont()(Code)(Java Doc)
public FontMetrics getFontMetrics(Font font)(Code)(Java Doc)
public Color[] getGUIcolors()(Code)(Java Doc)
public Graphics getGraphics()(Code)(Java Doc)
public Insets getInsets()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
static XComponentPeer getNativeContainer(Component comp)(Code)(Java Doc)
XWindowPeer getParentTopLevel()(Code)(Java Doc)
Color getPeerBackground()(Code)(Java Doc)
Font getPeerFont()(Code)(Java Doc)
Color getPeerForeground()(Code)(Java Doc)
Dimension getPeerSize()(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
static int[] getRGBvals(Color c)(Code)(Java Doc)
static Color[] getSystemColors()(Code)(Java Doc)
public java.awt.Toolkit getToolkit()(Code)(Java Doc)
public Color getWinBackground()(Code)(Java Doc)
public void handleButtonPressRelease(XEvent xev)(Code)(Java Doc)
public void handleEvent(java.awt.AWTEvent e)(Code)(Java Doc)
void handleF10JavaKeyEvent(KeyEvent e)(Code)(Java Doc)
void handleJavaFocusEvent(AWTEvent e)(Code)(Java Doc)
void handleJavaInputMethodEvent(InputMethodEvent e)(Code)(Java Doc)
void handleJavaKeyEvent(KeyEvent e)(Code)(Java Doc)
void handleJavaMouseEvent(MouseEvent e)(Code)(Java Doc)
void handleJavaMouseWheelEvent(MouseWheelEvent e)(Code)(Java Doc)
void handleJavaWindowFocusEvent(AWTEvent e)(Code)(Java Doc)
public boolean handlesWheelScrolling()(Code)(Java Doc)
final public boolean hasFocus()(Code)(Java Doc)
public void hide()(Code)(Java Doc)
public Insets insets()(Code)(Java Doc)
public boolean isEnabled()(Code)(Java Doc)
protected boolean isEventDisabled(XEvent e)(Code)(Java Doc)
public boolean isFocusable()(Code)(Java Doc)
protected boolean isInitialReshape()(Code)(Java Doc)
public boolean isObscured()(Code)(Java Doc)
public boolean isPaintPending()(Code)(Java Doc)
public boolean isReparentSupported()(Code)(Java Doc)
public boolean isRestackSupported()(Code)(Java Doc)
public void layout()(Code)(Java Doc)
public Dimension minimumSize()(Code)(Java Doc)
public void notifyTextComponentChange(boolean add)(Code)(Java Doc)
static String operationToString(int operation)(Code)(Java Doc)
public void pSetCursor(Cursor cursor)(Code)(Java Doc)
public void paint(Graphics g)(Code)(Java Doc)
void postInit(XCreateWindowParams params)(Code)(Java Doc)
void preInit(XCreateWindowParams params)(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)
static boolean processSynchronousLightweightTransfer(Component heavyweight, Component descendant, boolean temporary, boolean focusedWindowChangeAllowed, long time)(Code)(Java Doc)
public void removeDropTarget(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)
final 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)
public void restack()(Code)(Java Doc)
public void setBackground(Color c)(Code)(Java Doc)
public void setBounds(int x, int y, int width, int height, int op)(Code)(Java Doc)
public void setBoundsOperation(int operation)(Code)(Java Doc)
public void setEnabled(boolean value)(Code)(Java Doc)
public void setFont(Font f)(Code)(Java Doc)
public void setForeground(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 void updateCursorImmediately()(Code)(Java Doc)
void updateMotifColors(Color bg)(Code)(Java Doc)
final static AWTEvent wrapInSequenced(AWTEvent event)(Code)(Java Doc)

Fields inherited from sun.awt.X11.XWindow
final public static String TARGETREPARENTED(Code)(Java Doc)
Color backgroundColor(Code)(Java Doc)
static Field bdata(Code)(Java Doc)
static int clickCount(Code)(Java Doc)
final static Font defaultFont(Code)(Java Doc)
protected X11GraphicsConfig graphicsConfig(Code)(Java Doc)
protected AwtGraphicsConfigData graphicsConfigData(Code)(Java Doc)
static long lastButton(Code)(Java Doc)
static long lastTime(Code)(Java Doc)
static WeakReference lastWindowRef(Code)(Java Doc)
static int lastXlastY(Code)(Java Doc)
static Method m_sendMessage(Code)(Java Doc)
int oldHeight(Code)(Java Doc)
int oldWidth(Code)(Java Doc)
XRepaintArea paintArea(Code)(Java Doc)
XWindow parent(Code)(Java Doc)
static int rbutton(Code)(Java Doc)
SurfaceData surfaceData(Code)(Java Doc)
Component target(Code)(Java Doc)

Methods inherited from sun.awt.X11.XWindow
public void dispose()(Code)(Java Doc)
protected boolean doEraseBackground()(Code)(Java Doc)
public void doLayout(int x, int y, int width, int height)(Code)(Java Doc)
protected void flush()(Code)(Java Doc)
native static int getAWTKeyCodeForKeySym(int keysym)(Code)(Java Doc)
public ColorModel getColorModel(int transparency)(Code)(Java Doc)
public ColorModel getColorModel()(Code)(Java Doc)
public Component getEventSource()(Code)(Java Doc)
public FontMetrics getFontMetrics(Font font)(Code)(Java Doc)
Graphics getGraphics(SurfaceData surfData, Color afore, Color aback, Font afont)(Code)(Java Doc)
public Graphics getGraphics()(Code)(Java Doc)
public GraphicsConfiguration getGraphicsConfiguration()(Code)(Java Doc)
public AwtGraphicsConfigData getGraphicsConfigurationData()(Code)(Java Doc)
native static int getKeySymForAWTKeyCode(int keycode)(Code)(Java Doc)
public Point getLocationOnScreen()(Code)(Java Doc)
static int getModifiers(int state, int button, int keyCode)(Code)(Java Doc)
static int getMouseMovementSmudge()(Code)(Java Doc)
native int getNativeColor(Color clr, GraphicsConfiguration gc)(Code)(Java Doc)
static long getParentWindowID(Component target)(Code)(Java Doc)
static XWindow getParentXWindowObject(Component target)(Code)(Java Doc)
static int getRightButtonNumber()(Code)(Java Doc)
public SurfaceData getSurfaceData()(Code)(Java Doc)
public Object getTarget()(Code)(Java Doc)
public Rectangle getTargetBounds()(Code)(Java Doc)
native long getTopWindow(long window, long rootWin)(Code)(Java Doc)
protected String[] getWMClass()(Code)(Java Doc)
native void getWMInsets(long window, long left, long top, long right, long bottom, long border)(Code)(Java Doc)
public Color getWinBackground()(Code)(Java Doc)
native void getWindowBounds(long window, long x, long y, long width, long height)(Code)(Java Doc)
static int getXModifiers(AWTKeyStroke stroke)(Code)(Java Doc)
public void handleButtonPressRelease(XEvent xev)(Code)(Java Doc)
public void handleConfigureNotifyEvent(XEvent xev)(Code)(Java Doc)
public void handleExposeEvent(XEvent xev)(Code)(Java Doc)
public void handleExposeEvent(Component target, int x, int y, int w, int h)(Code)(Java Doc)
public void handleKeyPress(XEvent xev)(Code)(Java Doc)
final void handleKeyPress(XKeyEvent ev)(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 handleUnmapNotifyEvent(XEvent xev)(Code)(Java Doc)
public void handleXCrossingEvent(XEvent xev)(Code)(Java Doc)
native boolean haveCurrentX11InputMethodInstance()(Code)(Java Doc)
protected void initGraphicsConfiguration()(Code)(Java Doc)
public boolean isEmbedded()(Code)(Java Doc)
boolean isLocationByPlatform()(Code)(Java Doc)
boolean isParentOf(XWindow win)(Code)(Java Doc)
boolean isReparented()(Code)(Java Doc)
boolean isResizable()(Code)(Java Doc)
boolean isShowing()(Code)(Java Doc)
int keyEventType2Id(int xEventType)(Code)(Java Doc)
char keysymToUnicode(long keysym, int state)(Code)(Java Doc)
public void layout()(Code)(Java Doc)
void logIncomingKeyEvent(XKeyEvent ev)(Code)(Java Doc)
void paint(Graphics g)(Code)(Java Doc)
public void popup(int x, int y, int width, int height)(Code)(Java Doc)
void postEvent(AWTEvent event)(Code)(Java Doc)
static void postEventStatic(AWTEvent event)(Code)(Java Doc)
public void postEventToEventQueue(AWTEvent event)(Code)(Java Doc)
void postInit(XCreateWindowParams params)(Code)(Java Doc)
public void postKeyEvent(int id, long when, int keyCode, char keyChar, int keyLocation, int state, long event, int eventSize)(Code)(Java Doc)
void preInit(XCreateWindowParams params)(Code)(Java Doc)
boolean prePostEvent(AWTEvent e)(Code)(Java Doc)
public void repaint(int x, int y, int width, int height)(Code)(Java Doc)
public void repaint()(Code)(Java Doc)
public void reshape(Rectangle bounds)(Code)(Java Doc)
public void reshape(int x, int y, int width, int height)(Code)(Java Doc)
static void sendEvent(AWTEvent e)(Code)(Java Doc)
static void setBData(KeyEvent e, byte[] data)(Code)(Java Doc)
public void setBackground(Color c)(Code)(Java Doc)
void setReparented(boolean newValue)(Code)(Java Doc)
void updateSizeHints()(Code)(Java Doc)
void updateSizeHints(int x, int y, int width, int height)(Code)(Java Doc)
void updateSizeHints(int x, int y)(Code)(Java Doc)
void validateSurface()(Code)(Java Doc)
void winBackground(Color c)(Code)(Java Doc)
native public boolean x11inputMethodLookupString(long event, long[] keysymArray)(Code)(Java Doc)
final public void xSetBackground(Color c)(Code)(Java Doc)

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.