Java Doc for MTextAreaPeer.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.MTextAreaPeer

MTextAreaPeer
public class MTextAreaPeer extends MComponentPeer implements TextAreaPeer(Code)


Field Summary
final static  intBORDER
    
final static  intMARGIN
    
final static  intSCROLLBAR
    
 intfontAscent
    
 intfontHeight
    
 intfontLeading
    
transient  booleanhscrollbar
    
 Vectorlines
    
 intmovedRight
    
 intnumLines
    
 intselEnd
    
 intselStart
    
 inttextLength
    
 inttopLine
    
transient  booleanvscrollbar
    

Constructor Summary
public  MTextAreaPeer(TextArea target)
    

Method Summary
 voidcreate(MComponentPeer parent)
    
public  longfilterEvents(long mask)
    
native public  intgetCaretPosition()
    
public  RectanglegetCharacterBounds(int i)
    
native  intgetExtraHeight()
    
native  intgetExtraWidth()
    
public  intgetIndexAtPoint(int x, int y)
    
public  InputMethodRequestsgetInputMethodRequests()
    
public  DimensiongetMinimumSize()
    
public  DimensiongetMinimumSize(int rows, int cols)
    
public  DimensiongetPreferredSize(int rows, int cols)
    
native public  intgetSelectionEnd()
    
native public  intgetSelectionStart()
    
native public  StringgetText()
    
public  voidhandleEvent(AWTEvent e)
    
public  booleanhandlesWheelScrolling()
    
 voidinitialize()
    
native public  voidinsert(String txt, int pos)
    
public  voidinsertText(String txt, int pos)
    
public  booleanisFocusable()
    
 intlinesInWindow(boolean horizScrollbar)
    
public  DimensionminimumSize()
    
public  DimensionminimumSize(int rows, int cols)
    
native  voidnativeHandleMouseWheel(int scrollType, int scrollAmount, int wheelRotation)
    
native  voidpCreate(MComponentPeer parent)
    
 voidpDispose()
    
 voidpHide()
    
native  voidpMakeCursorVisible()
    
native public  voidpSetCursor(Cursor c)
    
native public  voidpSetEditable(boolean e)
    
 voidpShow()
    
native  voidpShow2()
    
 voidpaintLine(Graphics g, Color bg, Color fg, int lnr)
    
 voidpaintLines(Graphics g, Color bg, Color fg, int s, int e)
    
public  voidpasteFromClipboard()
    
 intpos2x(int pos)
    
public  DimensionpreferredSize(int rows, int cols)
    
public  voidprint(Graphics g)
    
native public  voidreplaceRange(String txt, int start, int end)
    
public  voidreplaceText(String txt, int start, int end)
    
native public  voidselect(int selStart, int selEnd)
    
public  voidsetBackground(Color c)
    
native public  voidsetCaretPosition(int pos)
    
public  voidsetEditable(boolean editable)
    
native public  voidsetFont(Font f)
    
public  voidsetForeground(Color c)
    
native public  voidsetText(String txt)
    
native public  voidsetTextBackground(Color c)
    
public  voidvalueChanged()
    

Field Detail
BORDER
final static int BORDER(Code)



MARGIN
final static int MARGIN(Code)



SCROLLBAR
final static int SCROLLBAR(Code)



fontAscent
int fontAscent(Code)



fontHeight
int fontHeight(Code)



fontLeading
int fontLeading(Code)



hscrollbar
transient boolean hscrollbar(Code)



lines
Vector lines(Code)



movedRight
int movedRight(Code)



numLines
int numLines(Code)



selEnd
int selEnd(Code)



selStart
int selStart(Code)



textLength
int textLength(Code)



topLine
int topLine(Code)



vscrollbar
transient boolean vscrollbar(Code)




Constructor Detail
MTextAreaPeer
public MTextAreaPeer(TextArea target)(Code)




Method Detail
create
void create(MComponentPeer parent)(Code)



filterEvents
public long filterEvents(long mask)(Code)



getCaretPosition
native public int getCaretPosition()(Code)



getCharacterBounds
public Rectangle getCharacterBounds(int i)(Code)



getExtraHeight
native int getExtraHeight()(Code)



getExtraWidth
native int getExtraWidth()(Code)



getIndexAtPoint
public int getIndexAtPoint(int x, int y)(Code)



getInputMethodRequests
public InputMethodRequests getInputMethodRequests()(Code)



getMinimumSize
public Dimension getMinimumSize()(Code)



getMinimumSize
public Dimension getMinimumSize(int rows, int cols)(Code)



getPreferredSize
public Dimension getPreferredSize(int rows, int cols)(Code)



getSelectionEnd
native public int getSelectionEnd()(Code)



getSelectionStart
native public int getSelectionStart()(Code)



getText
native public String getText()(Code)



handleEvent
public void handleEvent(AWTEvent e)(Code)



handlesWheelScrolling
public boolean handlesWheelScrolling()(Code)



initialize
void initialize()(Code)



insert
native public void insert(String txt, int pos)(Code)



insertText
public void insertText(String txt, int pos)(Code)
DEPRECATED



isFocusable
public boolean isFocusable()(Code)



linesInWindow
int linesInWindow(boolean horizScrollbar)(Code)



minimumSize
public Dimension minimumSize()(Code)
DEPRECATED



minimumSize
public Dimension minimumSize(int rows, int cols)(Code)
DEPRECATED



nativeHandleMouseWheel
native void nativeHandleMouseWheel(int scrollType, int scrollAmount, int wheelRotation)(Code)



pCreate
native void pCreate(MComponentPeer parent)(Code)



pDispose
void pDispose()(Code)



pHide
void pHide()(Code)



pMakeCursorVisible
native void pMakeCursorVisible()(Code)



pSetCursor
native public void pSetCursor(Cursor c)(Code)



pSetEditable
native public void pSetEditable(boolean e)(Code)



pShow
void pShow()(Code)



pShow2
native void pShow2()(Code)



paintLine
void paintLine(Graphics g, Color bg, Color fg, int lnr)(Code)



paintLines
void paintLines(Graphics g, Color bg, Color fg, int s, int e)(Code)



pasteFromClipboard
public void pasteFromClipboard()(Code)



pos2x
int pos2x(int pos)(Code)



preferredSize
public Dimension preferredSize(int rows, int cols)(Code)
DEPRECATED



print
public void print(Graphics g)(Code)



replaceRange
native public void replaceRange(String txt, int start, int end)(Code)



replaceText
public void replaceText(String txt, int start, int end)(Code)
DEPRECATED



select
native public void select(int selStart, int selEnd)(Code)



setBackground
public void setBackground(Color c)(Code)



setCaretPosition
native public void setCaretPosition(int pos)(Code)



setEditable
public void setEditable(boolean editable)(Code)



setFont
native public void setFont(Font f)(Code)



setForeground
public void setForeground(Color c)(Code)



setText
native public void setText(String txt)(Code)



setTextBackground
native public void setTextBackground(Color c)(Code)



valueChanged
public void valueChanged()(Code)



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.