Java Doc for Text.java in  » Portal » Open-Portal » ob » text » 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 » Portal » Open Portal » ob.text 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.awt.Component
      java.awt.Container
         java.awt.Panel
            ob.text.OBLabel
               ob.text.Text

All known Subclasses:   ob.text.MultiText,
Text
public class Text extends OBLabel implements Runnable,ClipboardOwner(Code)


Field Summary
 booleanAllowEnter
    
protected  ActionEventactionEventEnter
    
protected  ActionListeneractionListener
    
transient  Clipboardclipboard
    
 Pointcursor
    
public  StringcursorMovedOutOfBound
    
protected  PointcursorPoint
    
public static  StringendEditing
    
 booleanm_bAllowHScroll
    
 booleanm_bEditable
    
 booleanm_bModified
    
 Colorm_cCursorColor
    
 intm_nCursorWidth
    
 Threadm_tCursor
    
 PointselectionStartselectionEnd
    
protected  TextEventtextEvent
    
protected  TextEventtextEventEnter
    
protected  TextListenertextListener
    
public  StringtextModified
    

Constructor Summary
public  Text()
     Null constructor that routes to another constructor with a blank string.
public  Text(String s)
     Preferred constructor for Text that takes the String argument as the initial text.

Method Summary
public  voidaddActionListener(ActionListener l)
     Add an ActionListener to the Text control.
public  voidaddTextListener(TextListener l)
     This adds a TextListener.
protected  voidcopy()
     This takes the selected text and copies it to the clipboard.
protected  voidcut(boolean copy)
     This cuts the selected text.
protected  ParagraphfindParagraph(int y, boolean b)
    
protected  intfindYCoord(Paragraph p)
    
public  booleangetAllowHScroll()
     This returns whether or not horizontal scrolling is allowed.
public  ClipboardgetClipboard()
     This returns the clipboard used by the text control with copy and cut commands.
public  intgetCursorPos()
     This returns the cursor position (0 - length of string) of the text control.
public  intgetCursorWidth()
     This returns the width of the cursor.
public  booleangetModified()
     This returns whether or not the text control has been modified.
public  StringgetSelectedText()
     This returns the selected text.
public  intgetSelectionEnd()
    
public  intgetSelectionStart()
    
protected  voidgotFocus()
    
protected  booleaninsertChar(char c)
     This is called from processKeyEvent whenever the user enters a character.
public  booleanisAllowEnter()
     This returns whether or not the text control allows the enter key.
public  booleanisEditable()
     This returns whether or not the text control is editable.
public  booleanisFocusTraversable()
     This returns whether or not the text control can receive focus.
public  booleanisModified()
     This returns whether or not the text class has been modified.
public  booleanisSelected()
     This returns whether or not the text control has a selection.
protected  voidlostFocus()
     This is called whenever the text class loses focus.
public  voidlostOwnership(Clipboard clipboard, Transferable contents)
     This is called whenever the clipboard's contents have been replaced.
protected  voidonBackspaceKey()
     This is called whenever the user hits the backspace key.
protected  voidonDeleteKey()
     This is called whenever the user hits the delete key.
protected  voidonDoubleClicked()
     This is called whenever the user double-clicks on the text control.
protected  voidonDownKey(int mod)
     This is called whenever the user hits the down arrow key.
protected  voidonEndKey(int mod)
     This is called whenever the user hits the 'End' key.
protected  voidonEnterKey()
     This is called whenever the user hits the 'Enter' key.
protected  voidonHomeKey(int mod)
     This is called whenever the user hits the 'Home' key.
protected  voidonLeftKey(int mod)
     This is called whenever the user hits the left arrow key.
protected  voidonMovement()
     This is called whenever the cursor has been moved.
protected  voidonRightKey(int mod)
     This is called whenever the user hits the right arrow key.
protected  voidonTripleClicked()
     This is called whenever the user clicks three times on the text control, selecting all of the text.
protected  voidonUpKey(int mod)
     This is called whenever the user hits the up arrow key.
protected  voidpaintCursor(boolean b)
     This method is called by the Thread (in an editable and focused text control) to blink the cursor.
protected  voidpaste()
     This is called to paste the clipboard's contents into the text control.
protected  voidprocessActionEvent(ActionEvent e)
     This is called whenever an ActionEvent has been fired.
protected  voidprocessFocusEvent(FocusEvent e)
     This is called whenever a FocusEvent has been fired.
protected  voidprocessKeyEvent(KeyEvent e)
     This is called whenever a KeyEvent is fired.
protected  voidprocessMouseEvent(MouseEvent e)
     This is called whenever a MouseEvent has been fired.
protected  voidprocessMouseMotionEvent(MouseEvent e)
     This method is called whenever a MouseEvent has been fired with motion involved.
public  voidremoveActionListener(ActionListener l)
     This method removes the ActionListener from Text's list.
public  voidremoveTextListener(TextListener l)
     This removes the TextListener from Text's list.
public  voidrun()
     This is the Thread's runtime, which calls paintCursor in a loop.
public  voidselect(int from, int to)
     This method selects text from the first position to the second.
public  voidselectAll()
    
public  voidselectWord()
     This method selects the word closest to where the cursor is currently located.
public  voidsetAllowEnter(boolean b)
     This sets whether or not the 'Enter' key is allowed in the Text control.
public  voidsetAllowHScroll(boolean b)
     This sets whether or not to allow horizontal scrolling within the text control.
public  voidsetClipboard(Clipboard bd)
     This sets the clipboard of the Text class, used for cut, copy, and paste functionality.
protected  voidsetClipboardText(String text)
     This sets the text contents of the clipboard.
public  voidsetCursorPos(int x)
     This sets the position of the cursor.
protected  voidsetCursorPosition(int x, int y)
     This sets the cursor position, given an x,y coordinate set.
public  voidsetCursorWidth(int w)
     This sets the width of the cursor.
public  voidsetEditable(boolean b)
     This sets whether or not the text control is editable.
public  voidsetHAlign(int align)
    
public  voidsetModified(boolean b)
     This sets the modified flag of the text control.
public  voidsetText(String t, boolean repaint)
     This sets the text of the text control.
public  voidsetXOffset(int n)
    
public  voidstart()
     This is called whenever the Thread that runs the cursor is started.
public  voidstop()
     This is called whenever the Thread that runs the cursor is stopped.
protected  voidunselectAll()
     This method unselects the text control.
public  voidupdate()
     This is a backwards compatible method to update/repaint the text control.
public static  VectorwrapText(String string, int width, boolean bAutoWrap, FontMetrics fm)
     This method is used by other classes to break up the string into a Vector of wrapped lines.

Field Detail
AllowEnter
boolean AllowEnter(Code)



actionEventEnter
protected ActionEvent actionEventEnter(Code)



actionListener
protected ActionListener actionListener(Code)



clipboard
transient Clipboard clipboard(Code)



cursor
Point cursor(Code)



cursorMovedOutOfBound
public String cursorMovedOutOfBound(Code)



cursorPoint
protected Point cursorPoint(Code)



endEditing
public static String endEditing(Code)



m_bAllowHScroll
boolean m_bAllowHScroll(Code)



m_bEditable
boolean m_bEditable(Code)



m_bModified
boolean m_bModified(Code)



m_cCursorColor
Color m_cCursorColor(Code)



m_nCursorWidth
int m_nCursorWidth(Code)



m_tCursor
Thread m_tCursor(Code)



selectionStartselectionEnd
Point selectionStartselectionEnd(Code)



textEvent
protected TextEvent textEvent(Code)



textEventEnter
protected TextEvent textEventEnter(Code)



textListener
protected TextListener textListener(Code)



textModified
public String textModified(Code)




Constructor Detail
Text
public Text()(Code)
Null constructor that routes to another constructor with a blank string.



Text
public Text(String s)(Code)
Preferred constructor for Text that takes the String argument as the initial text.
Parameters:
  s - - initial text




Method Detail
addActionListener
public void addActionListener(ActionListener l)(Code)
Add an ActionListener to the Text control.
Parameters:
  l - - the listener



addTextListener
public void addTextListener(TextListener l)(Code)
This adds a TextListener.
Parameters:
  l - - the text listener



copy
protected void copy()(Code)
This takes the selected text and copies it to the clipboard.



cut
protected void cut(boolean copy)(Code)
This cuts the selected text. If copy is true, then the selected text is copied to the clipboard.
Parameters:
  copy - - whether or not to copy the selected text to the clipboard



findParagraph
protected Paragraph findParagraph(int y, boolean b)(Code)
this function finds the paragraph, given the y coordinate if the boolean is true, then if we didn't find the paragraph it will return the last paragraph, otherwise, null
Parameters:
  y - - y coordinate
Parameters:
  b - - whether or not to return the last element if nothing's found



findYCoord
protected int findYCoord(Paragraph p)(Code)
This finds the y coordinate of Paragraph
Parameters:
  p - - Paragraph



getAllowHScroll
public boolean getAllowHScroll()(Code)
This returns whether or not horizontal scrolling is allowed. horizontal scrolling behavior



getClipboard
public Clipboard getClipboard()(Code)
This returns the clipboard used by the text control with copy and cut commands.



getCursorPos
public int getCursorPos()(Code)
This returns the cursor position (0 - length of string) of the text control. the cursor's position



getCursorWidth
public int getCursorWidth()(Code)
This returns the width of the cursor. width of the cursor



getModified
public boolean getModified()(Code)
This returns whether or not the text control has been modified. whether or not the text control has been modified



getSelectedText
public String getSelectedText()(Code)
This returns the selected text. the selected text



getSelectionEnd
public int getSelectionEnd()(Code)
This returns the position of the end of the selected text selection's end



getSelectionStart
public int getSelectionStart()(Code)
This returns the position of the start of the selected text position of the start of the selected text



gotFocus
protected void gotFocus()(Code)
This is called whenever the Text control receives focus



insertChar
protected boolean insertChar(char c)(Code)
This is called from processKeyEvent whenever the user enters a character.
Parameters:
  c - - the character entered



isAllowEnter
public boolean isAllowEnter()(Code)
This returns whether or not the text control allows the enter key. false



isEditable
public boolean isEditable()(Code)
This returns whether or not the text control is editable. editable boolean flag



isFocusTraversable
public boolean isFocusTraversable()(Code)
This returns whether or not the text control can receive focus. Same thing as being editable. focus traversable boolean flag



isModified
public boolean isModified()(Code)
This returns whether or not the text class has been modified. modified boolean flag



isSelected
public boolean isSelected()(Code)
This returns whether or not the text control has a selection. text selection boolean flag



lostFocus
protected void lostFocus()(Code)
This is called whenever the text class loses focus.



lostOwnership
public void lostOwnership(Clipboard clipboard, Transferable contents)(Code)
This is called whenever the clipboard's contents have been replaced.
Parameters:
  clipboard - - the clipboard
Parameters:
  contents - - the contents



onBackspaceKey
protected void onBackspaceKey()(Code)
This is called whenever the user hits the backspace key.



onDeleteKey
protected void onDeleteKey()(Code)
This is called whenever the user hits the delete key.



onDoubleClicked
protected void onDoubleClicked()(Code)
This is called whenever the user double-clicks on the text control. (it selects a word)



onDownKey
protected void onDownKey(int mod)(Code)
This is called whenever the user hits the down arrow key. This has no effect in the Text class.
Parameters:
  mod - - any modifiers (SHIFT, CONTROL, etc)



onEndKey
protected void onEndKey(int mod)(Code)
This is called whenever the user hits the 'End' key.
Parameters:
  mod - - modifiers used when hitting the key



onEnterKey
protected void onEnterKey()(Code)
This is called whenever the user hits the 'Enter' key. This fires off two events, a TextEvent and an ActionEvent.



onHomeKey
protected void onHomeKey(int mod)(Code)
This is called whenever the user hits the 'Home' key.
Parameters:
  mod - - modifiers used when hitting the key



onLeftKey
protected void onLeftKey(int mod)(Code)
This is called whenever the user hits the left arrow key.
Parameters:
  mod - - modifiers used when hitting the key



onMovement
protected void onMovement()(Code)
This is called whenever the cursor has been moved.



onRightKey
protected void onRightKey(int mod)(Code)
This is called whenever the user hits the right arrow key.
Parameters:
  mod - - modifiers used when hitting the key



onTripleClicked
protected void onTripleClicked()(Code)
This is called whenever the user clicks three times on the text control, selecting all of the text.



onUpKey
protected void onUpKey(int mod)(Code)
This is called whenever the user hits the up arrow key. This has no effect on the Text class.
Parameters:
  mod - - modifiers used when hitting the key



paintCursor
protected void paintCursor(boolean b)(Code)
This method is called by the Thread (in an editable and focused text control) to blink the cursor.
Parameters:
  b - - whether to paint in the background or foreground (DEPRECATED)



paste
protected void paste()(Code)
This is called to paste the clipboard's contents into the text control.



processActionEvent
protected void processActionEvent(ActionEvent e)(Code)
This is called whenever an ActionEvent has been fired.
Parameters:
  e - - the ActionEvent fired



processFocusEvent
protected void processFocusEvent(FocusEvent e)(Code)
This is called whenever a FocusEvent has been fired.
Parameters:
  e - - the FocusEvent



processKeyEvent
protected void processKeyEvent(KeyEvent e)(Code)
This is called whenever a KeyEvent is fired.
Parameters:
  e - - the KeyEvent



processMouseEvent
protected void processMouseEvent(MouseEvent e)(Code)
This is called whenever a MouseEvent has been fired.
Parameters:
  e - - the MouseEvent



processMouseMotionEvent
protected void processMouseMotionEvent(MouseEvent e)(Code)
This method is called whenever a MouseEvent has been fired with motion involved.
Parameters:
  e - - the MouseEvent



removeActionListener
public void removeActionListener(ActionListener l)(Code)
This method removes the ActionListener from Text's list.
Parameters:
  l - - the listener to remove



removeTextListener
public void removeTextListener(TextListener l)(Code)
This removes the TextListener from Text's list.
Parameters:
  l - - the listener to remove



run
public void run()(Code)
This is the Thread's runtime, which calls paintCursor in a loop.
See Also:   Text.paintCursor



select
public void select(int from, int to)(Code)
This method selects text from the first position to the second.
Parameters:
  from - - the first position
Parameters:
  to - - the second position



selectAll
public void selectAll()(Code)
This method selects all the text within the Text control



selectWord
public void selectWord()(Code)
This method selects the word closest to where the cursor is currently located.



setAllowEnter
public void setAllowEnter(boolean b)(Code)
This sets whether or not the 'Enter' key is allowed in the Text control. This method has no effect in the Text class.
Parameters:
  b - - allow enter boolean flag



setAllowHScroll
public void setAllowHScroll(boolean b)(Code)
This sets whether or not to allow horizontal scrolling within the text control.
Parameters:
  b - - horizontal scrolling behavior



setClipboard
public void setClipboard(Clipboard bd)(Code)
This sets the clipboard of the Text class, used for cut, copy, and paste functionality. This is good to set from an app, since the text control cannot get the system clipboard w/o raising security precautions. This way, a common clipboard can be used between different text controls.
Parameters:
  bd - - the clipboard



setClipboardText
protected void setClipboardText(String text)(Code)
This sets the text contents of the clipboard.
Parameters:
  text - - the contents of the clipboard



setCursorPos
public void setCursorPos(int x)(Code)
This sets the position of the cursor.
Parameters:
  x - - the position of the cursor



setCursorPosition
protected void setCursorPosition(int x, int y)(Code)
This sets the cursor position, given an x,y coordinate set. This method is used from mouse events.
Parameters:
  x - - x coordinate
Parameters:
  y - - y coordinate



setCursorWidth
public void setCursorWidth(int w)(Code)
This sets the width of the cursor.
Parameters:
  w - - width of the cursor



setEditable
public void setEditable(boolean b)(Code)
This sets whether or not the text control is editable.
Parameters:
  b - - editable boolean flag



setHAlign
public void setHAlign(int align)(Code)
This sets the horizontal alignment of the text control
Parameters:
  align - - horizontal alignment
See Also:   ob.text.OBLabel.setHAlign



setModified
public void setModified(boolean b)(Code)
This sets the modified flag of the text control.
Parameters:
  b - - modification flag



setText
public void setText(String t, boolean repaint)(Code)
This sets the text of the text control. This is overridden to ensure newlines don't break this control into a multiline control.
Parameters:
  t - - text to set in the control
Parameters:
  repaint - - whether or not to repaint the control afterwards
See Also:   ob.text.OBLabel.setText



setXOffset
public void setXOffset(int n)(Code)



start
public void start()(Code)
This is called whenever the Thread that runs the cursor is started.



stop
public void stop()(Code)
This is called whenever the Thread that runs the cursor is stopped.



unselectAll
protected void unselectAll()(Code)
This method unselects the text control.



update
public void update()(Code)
This is a backwards compatible method to update/repaint the text control.



wrapText
public static Vector wrapText(String string, int width, boolean bAutoWrap, FontMetrics fm)(Code)
This method is used by other classes to break up the string into a Vector of wrapped lines.
Parameters:
  string - - string to be broken up
Parameters:
  width - - the width (in pixels) to allow a string to be carried to
Parameters:
  bAutoWrap - - whether or not to break a line on the width or newline or just a newline
Parameters:
  fm - - the FontMetrics of the string



Fields inherited from ob.text.OBLabel
final public static int BOTTOM(Code)(Java Doc)
final public static int CENTER(Code)(Java Doc)
final public static int INSET(Code)(Java Doc)
final public static int LEFT(Code)(Java Doc)
final public static int NONE(Code)(Java Doc)
final public static int NORMAL(Code)(Java Doc)
final public static int RAISED(Code)(Java Doc)
final public static int RIGHT(Code)(Java Doc)
final public static int STANDARD(Code)(Java Doc)
final public static int TOP(Code)(Java Doc)
protected Color borderColor(Code)(Java Doc)
Font defaultfont(Code)(Java Doc)
boolean m_bAutoWrap(Code)(Java Doc)
protected boolean m_bDoubleBuffering(Code)(Java Doc)
protected boolean m_bLockUpdate(Code)(Java Doc)
boolean m_bStrikeOut(Code)(Java Doc)
boolean m_bUnderline(Code)(Java Doc)
protected Insets m_inTextInsets(Code)(Java Doc)
int m_nBorderStyle(Code)(Java Doc)
int m_nHAlign(Code)(Java Doc)
int m_nVAlign(Code)(Java Doc)
int m_nWidthOffset(Code)(Java Doc)
protected Vector m_vParagraphs(Code)(Java Doc)
transient Image offscreen(Code)(Java Doc)
int prevYOffset(Code)(Java Doc)
int y_offset(Code)(Java Doc)

Methods inherited from ob.text.OBLabel
public void addNotify()(Code)(Java Doc)
public void draw(Graphics g)(Code)(Java Doc)
public boolean getAutoWrap()(Code)(Java Doc)
public boolean getBorder()(Code)(Java Doc)
public Color getBorderColor()(Code)(Java Doc)
public int getBorderStyle()(Code)(Java Doc)
public int getHAlign()(Code)(Java Doc)
public Insets getInsets()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
public boolean getRaised()(Code)(Java Doc)
public String getText()(Code)(Java Doc)
public int getTextHIndent()(Code)(Java Doc)
public int getTextVIndent()(Code)(Java Doc)
public int getVAlign()(Code)(Java Doc)
protected int getWidthOffset()(Code)(Java Doc)
protected boolean isAutoWrap()(Code)(Java Doc)
public boolean isLockUpdate()(Code)(Java Doc)
public boolean isStrikeOut()(Code)(Java Doc)
public boolean isUnderLine()(Code)(Java Doc)
public void paint(Graphics g)(Code)(Java Doc)
protected void printBorder(Graphics g)(Code)(Java Doc)
public void repaint()(Code)(Java Doc)
public void setAutoWrap(boolean bAutoWrap)(Code)(Java Doc)
public void setBackground(Color c)(Code)(Java Doc)
public void setBorder(boolean b)(Code)(Java Doc)
public void setBorderColor(Color c)(Code)(Java Doc)
public void setBorderStyle(int style)(Code)(Java Doc)
public void setBounds(int x, int y, int w, int h)(Code)(Java Doc)
public void setFont(int p, Font f)(Code)(Java Doc)
public void setFont(Font f)(Code)(Java Doc)
public void setForeground(Color c)(Code)(Java Doc)
public void setHAlign(int align)(Code)(Java Doc)
public void setInsets(Insets in)(Code)(Java Doc)
public void setLockUpdate(boolean bLock)(Code)(Java Doc)
public void setRaised(boolean b)(Code)(Java Doc)
public void setSize(int w, int h)(Code)(Java Doc)
public void setStrikeOut(boolean b)(Code)(Java Doc)
public void setText(String t)(Code)(Java Doc)
public void setText(String t, boolean repaint)(Code)(Java Doc)
public void setTextHIndent(int n)(Code)(Java Doc)
public void setTextVIndent(int n)(Code)(Java Doc)
public void setUnderLine(boolean b)(Code)(Java Doc)
public void setVAlign(int align)(Code)(Java Doc)
protected void setWidthOffset(int w)(Code)(Java Doc)
public void setXOffset(int n)(Code)(Java Doc)
public void update(Graphics g, int x, int y, int w, int h)(Code)(Java Doc)
public void update()(Code)(Java Doc)
public void update(Graphics g)(Code)(Java Doc)
protected boolean validateImage()(Code)(Java Doc)

Methods inherited from java.awt.Panel
public void addNotify()(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)

Methods inherited from java.awt.Container
public Component add(Component comp)(Code)(Java Doc)
public Component add(String name, Component comp)(Code)(Java Doc)
public Component add(Component comp, int index)(Code)(Java Doc)
public void add(Component comp, Object constraints)(Code)(Java Doc)
public void add(Component comp, Object constraints, int index)(Code)(Java Doc)
public synchronized void addContainerListener(ContainerListener l)(Code)(Java Doc)
protected void addImpl(Component comp, Object constraints, int index)(Code)(Java Doc)
public void addNotify()(Code)(Java Doc)
public void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc)
public void applyComponentOrientation(ComponentOrientation o)(Code)(Java Doc)
public boolean areFocusTraversalKeysSet(int id)(Code)(Java Doc)
public int countComponents()(Code)(Java Doc)
public void deliverEvent(Event e)(Code)(Java Doc)
public void doLayout()(Code)(Java Doc)
public Component findComponentAt(int x, int y)(Code)(Java Doc)
public Component findComponentAt(Point p)(Code)(Java Doc)
public float getAlignmentX()(Code)(Java Doc)
public float getAlignmentY()(Code)(Java Doc)
public Component getComponent(int n)(Code)(Java Doc)
public Component getComponentAt(int x, int y)(Code)(Java Doc)
public Component getComponentAt(Point p)(Code)(Java Doc)
public int getComponentCount()(Code)(Java Doc)
public int getComponentZOrder(Component comp)(Code)(Java Doc)
public Component[] getComponents()(Code)(Java Doc)
public synchronized ContainerListener[] getContainerListeners()(Code)(Java Doc)
public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc)
public FocusTraversalPolicy getFocusTraversalPolicy()(Code)(Java Doc)
public Insets getInsets()(Code)(Java Doc)
public LayoutManager getLayout()(Code)(Java Doc)
public T[] getListeners(Class<T> listenerType)(Code)(Java Doc)
public Dimension getMaximumSize()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
public Point getMousePosition(boolean allowChildren) throws HeadlessException(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
public Insets insets()(Code)(Java Doc)
public void invalidate()(Code)(Java Doc)
public boolean isAncestorOf(Component c)(Code)(Java Doc)
public boolean isFocusCycleRoot(Container container)(Code)(Java Doc)
public boolean isFocusCycleRoot()(Code)(Java Doc)
final public boolean isFocusTraversalPolicyProvider()(Code)(Java Doc)
public boolean isFocusTraversalPolicySet()(Code)(Java Doc)
public void layout()(Code)(Java Doc)
public void list(PrintStream out, int indent)(Code)(Java Doc)
public void list(PrintWriter out, int indent)(Code)(Java Doc)
public Component locate(int x, int y)(Code)(Java Doc)
public Dimension minimumSize()(Code)(Java Doc)
public void paint(Graphics g)(Code)(Java Doc)
public void paintComponents(Graphics g)(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public Dimension preferredSize()(Code)(Java Doc)
public void print(Graphics g)(Code)(Java Doc)
public void printComponents(Graphics g)(Code)(Java Doc)
protected void processContainerEvent(ContainerEvent e)(Code)(Java Doc)
protected void processEvent(AWTEvent e)(Code)(Java Doc)
public void remove(int index)(Code)(Java Doc)
public void remove(Component comp)(Code)(Java Doc)
public void removeAll()(Code)(Java Doc)
public synchronized void removeContainerListener(ContainerListener l)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
public void setComponentZOrder(Component comp, int index)(Code)(Java Doc)
public void setFocusCycleRoot(boolean focusCycleRoot)(Code)(Java Doc)
public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc)
public void setFocusTraversalPolicy(FocusTraversalPolicy policy)(Code)(Java Doc)
final public void setFocusTraversalPolicyProvider(boolean provider)(Code)(Java Doc)
public void setFont(Font f)(Code)(Java Doc)
public void setLayout(LayoutManager mgr)(Code)(Java Doc)
public void transferFocusDownCycle()(Code)(Java Doc)
public void update(Graphics g)(Code)(Java Doc)
public void validate()(Code)(Java Doc)
protected void validateTree()(Code)(Java Doc)

Fields inherited from java.awt.Component
final public static float BOTTOM_ALIGNMENT(Code)(Java Doc)
final public static float CENTER_ALIGNMENT(Code)(Java Doc)
final public static float LEFT_ALIGNMENT(Code)(Java Doc)
final public static float RIGHT_ALIGNMENT(Code)(Java Doc)
final public static float TOP_ALIGNMENT(Code)(Java Doc)

Methods inherited from java.awt.Component
public boolean action(Event evt, Object what)(Code)(Java Doc)
public void add(PopupMenu popup)(Code)(Java Doc)
public synchronized void addComponentListener(ComponentListener l)(Code)(Java Doc)
public synchronized void addFocusListener(FocusListener l)(Code)(Java Doc)
public void addHierarchyBoundsListener(HierarchyBoundsListener l)(Code)(Java Doc)
public void addHierarchyListener(HierarchyListener l)(Code)(Java Doc)
public synchronized void addInputMethodListener(InputMethodListener l)(Code)(Java Doc)
public synchronized void addKeyListener(KeyListener l)(Code)(Java Doc)
public synchronized void addMouseListener(MouseListener l)(Code)(Java Doc)
public synchronized void addMouseMotionListener(MouseMotionListener l)(Code)(Java Doc)
public synchronized void addMouseWheelListener(MouseWheelListener l)(Code)(Java Doc)
public void addNotify()(Code)(Java Doc)
public synchronized void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public synchronized void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc)
public void applyComponentOrientation(ComponentOrientation orientation)(Code)(Java Doc)
public boolean areFocusTraversalKeysSet(int id)(Code)(Java Doc)
public Rectangle bounds()(Code)(Java Doc)
public int checkImage(Image image, ImageObserver observer)(Code)(Java Doc)
public int checkImage(Image image, int width, int height, ImageObserver observer)(Code)(Java Doc)
protected AWTEvent coalesceEvents(AWTEvent existingEvent, AWTEvent newEvent)(Code)(Java Doc)
public boolean contains(int x, int y)(Code)(Java Doc)
public boolean contains(Point p)(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 VolatileImage createVolatileImage(int width, int height, ImageCapabilities caps) throws AWTException(Code)(Java Doc)
public void deliverEvent(Event e)(Code)(Java Doc)
public void disable()(Code)(Java Doc)
final protected void disableEvents(long eventsToDisable)(Code)(Java Doc)
final public void dispatchEvent(AWTEvent e)(Code)(Java Doc)
public void doLayout()(Code)(Java Doc)
public void enable()(Code)(Java Doc)
public void enable(boolean b)(Code)(Java Doc)
final protected void enableEvents(long eventsToEnable)(Code)(Java Doc)
public void enableInputMethods(boolean enable)(Code)(Java Doc)
protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)(Code)(Java Doc)
protected void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc)
protected void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, byte oldValue, byte newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, char oldValue, char newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, short oldValue, short newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, long oldValue, long newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, float oldValue, float newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, double oldValue, double newValue)(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public float getAlignmentX()(Code)(Java Doc)
public float getAlignmentY()(Code)(Java Doc)
public Color getBackground()(Code)(Java Doc)
public int getBaseline(int width, int height)(Code)(Java Doc)
public BaselineResizeBehavior getBaselineResizeBehavior()(Code)(Java Doc)
public Rectangle getBounds()(Code)(Java Doc)
public Rectangle getBounds(Rectangle rv)(Code)(Java Doc)
public ColorModel getColorModel()(Code)(Java Doc)
public Component getComponentAt(int x, int y)(Code)(Java Doc)
public Component getComponentAt(Point p)(Code)(Java Doc)
public synchronized ComponentListener[] getComponentListeners()(Code)(Java Doc)
public ComponentOrientation getComponentOrientation()(Code)(Java Doc)
public Cursor getCursor()(Code)(Java Doc)
public synchronized DropTarget getDropTarget()(Code)(Java Doc)
public Container getFocusCycleRootAncestor()(Code)(Java Doc)
public synchronized FocusListener[] getFocusListeners()(Code)(Java Doc)
public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc)
public boolean getFocusTraversalKeysEnabled()(Code)(Java Doc)
public Font getFont()(Code)(Java Doc)
public FontMetrics getFontMetrics(Font font)(Code)(Java Doc)
public Color getForeground()(Code)(Java Doc)
public Graphics getGraphics()(Code)(Java Doc)
public GraphicsConfiguration getGraphicsConfiguration()(Code)(Java Doc)
public int getHeight()(Code)(Java Doc)
public synchronized HierarchyBoundsListener[] getHierarchyBoundsListeners()(Code)(Java Doc)
public synchronized HierarchyListener[] getHierarchyListeners()(Code)(Java Doc)
public boolean getIgnoreRepaint()(Code)(Java Doc)
public InputContext getInputContext()(Code)(Java Doc)
public synchronized InputMethodListener[] getInputMethodListeners()(Code)(Java Doc)
public InputMethodRequests getInputMethodRequests()(Code)(Java Doc)
public synchronized KeyListener[] getKeyListeners()(Code)(Java Doc)
public T[] getListeners(Class<T> listenerType)(Code)(Java Doc)
public Locale getLocale()(Code)(Java Doc)
public Point getLocation()(Code)(Java Doc)
public Point getLocation(Point rv)(Code)(Java Doc)
public Point getLocationOnScreen()(Code)(Java Doc)
public Dimension getMaximumSize()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
public synchronized MouseListener[] getMouseListeners()(Code)(Java Doc)
public synchronized MouseMotionListener[] getMouseMotionListeners()(Code)(Java Doc)
public Point getMousePosition() throws HeadlessException(Code)(Java Doc)
public synchronized MouseWheelListener[] getMouseWheelListeners()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public Container getParent()(Code)(Java Doc)
public ComponentPeer getPeer()(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
public synchronized PropertyChangeListener[] getPropertyChangeListeners()(Code)(Java Doc)
public synchronized PropertyChangeListener[] getPropertyChangeListeners(String propertyName)(Code)(Java Doc)
public Dimension getSize()(Code)(Java Doc)
public Dimension getSize(Dimension rv)(Code)(Java Doc)
public Toolkit getToolkit()(Code)(Java Doc)
final public Object getTreeLock()(Code)(Java Doc)
public int getWidth()(Code)(Java Doc)
public int getX()(Code)(Java Doc)
public int getY()(Code)(Java Doc)
public boolean gotFocus(Event evt, Object what)(Code)(Java Doc)
public boolean handleEvent(Event evt)(Code)(Java Doc)
public boolean hasFocus()(Code)(Java Doc)
public void hide()(Code)(Java Doc)
public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h)(Code)(Java Doc)
public boolean inside(int x, int y)(Code)(Java Doc)
public void invalidate()(Code)(Java Doc)
public boolean isBackgroundSet()(Code)(Java Doc)
public boolean isCursorSet()(Code)(Java Doc)
public boolean isDisplayable()(Code)(Java Doc)
public boolean isDoubleBuffered()(Code)(Java Doc)
public boolean isEnabled()(Code)(Java Doc)
public boolean isFocusCycleRoot(Container container)(Code)(Java Doc)
public boolean isFocusOwner()(Code)(Java Doc)
public boolean isFocusTraversable()(Code)(Java Doc)
public boolean isFocusable()(Code)(Java Doc)
public boolean isFontSet()(Code)(Java Doc)
public boolean isForegroundSet()(Code)(Java Doc)
public boolean isLightweight()(Code)(Java Doc)
public boolean isMaximumSizeSet()(Code)(Java Doc)
public boolean isMinimumSizeSet()(Code)(Java Doc)
public boolean isOpaque()(Code)(Java Doc)
public boolean isPreferredSizeSet()(Code)(Java Doc)
public boolean isShowing()(Code)(Java Doc)
public boolean isValid()(Code)(Java Doc)
public boolean isVisible()(Code)(Java Doc)
public boolean keyDown(Event evt, int key)(Code)(Java Doc)
public boolean keyUp(Event evt, int key)(Code)(Java Doc)
public void layout()(Code)(Java Doc)
public void list()(Code)(Java Doc)
public void list(PrintStream out)(Code)(Java Doc)
public void list(PrintStream out, int indent)(Code)(Java Doc)
public void list(PrintWriter out)(Code)(Java Doc)
public void list(PrintWriter out, int indent)(Code)(Java Doc)
public Component locate(int x, int y)(Code)(Java Doc)
public Point location()(Code)(Java Doc)
public boolean lostFocus(Event evt, Object what)(Code)(Java Doc)
public Dimension minimumSize()(Code)(Java Doc)
public boolean mouseDown(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseDrag(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseEnter(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseExit(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseMove(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseUp(Event evt, int x, int y)(Code)(Java Doc)
public void move(int x, int y)(Code)(Java Doc)
public void nextFocus()(Code)(Java Doc)
public void paint(Graphics g)(Code)(Java Doc)
public void paintAll(Graphics g)(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public boolean postEvent(Event e)(Code)(Java Doc)
public Dimension preferredSize()(Code)(Java Doc)
public boolean prepareImage(Image image, ImageObserver observer)(Code)(Java Doc)
public boolean prepareImage(Image image, int width, int height, ImageObserver observer)(Code)(Java Doc)
public void print(Graphics g)(Code)(Java Doc)
public void printAll(Graphics g)(Code)(Java Doc)
protected void processComponentEvent(ComponentEvent e)(Code)(Java Doc)
protected void processEvent(AWTEvent e)(Code)(Java Doc)
protected void processFocusEvent(FocusEvent e)(Code)(Java Doc)
protected void processHierarchyBoundsEvent(HierarchyEvent e)(Code)(Java Doc)
protected void processHierarchyEvent(HierarchyEvent e)(Code)(Java Doc)
protected void processInputMethodEvent(InputMethodEvent e)(Code)(Java Doc)
protected void processKeyEvent(KeyEvent e)(Code)(Java Doc)
protected void processMouseEvent(MouseEvent e)(Code)(Java Doc)
protected void processMouseMotionEvent(MouseEvent e)(Code)(Java Doc)
protected void processMouseWheelEvent(MouseWheelEvent e)(Code)(Java Doc)
public void remove(MenuComponent popup)(Code)(Java Doc)
public synchronized void removeComponentListener(ComponentListener l)(Code)(Java Doc)
public synchronized void removeFocusListener(FocusListener l)(Code)(Java Doc)
public void removeHierarchyBoundsListener(HierarchyBoundsListener l)(Code)(Java Doc)
public void removeHierarchyListener(HierarchyListener l)(Code)(Java Doc)
public synchronized void removeInputMethodListener(InputMethodListener l)(Code)(Java Doc)
public synchronized void removeKeyListener(KeyListener l)(Code)(Java Doc)
public synchronized void removeMouseListener(MouseListener l)(Code)(Java Doc)
public synchronized void removeMouseMotionListener(MouseMotionListener l)(Code)(Java Doc)
public synchronized void removeMouseWheelListener(MouseWheelListener l)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
public synchronized void removePropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public synchronized void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc)
public void repaint()(Code)(Java Doc)
public void repaint(long tm)(Code)(Java Doc)
public void repaint(int x, int y, int width, int height)(Code)(Java Doc)
public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc)
public void requestFocus()(Code)(Java Doc)
protected boolean requestFocus(boolean temporary)(Code)(Java Doc)
public boolean requestFocusInWindow()(Code)(Java Doc)
protected boolean requestFocusInWindow(boolean temporary)(Code)(Java Doc)
public void reshape(int x, int y, int width, int height)(Code)(Java Doc)
public void resize(int width, int height)(Code)(Java Doc)
public void resize(Dimension d)(Code)(Java Doc)
public void setBackground(Color c)(Code)(Java Doc)
public void setBounds(int x, int y, int width, int height)(Code)(Java Doc)
public void setBounds(Rectangle r)(Code)(Java Doc)
public void setComponentOrientation(ComponentOrientation o)(Code)(Java Doc)
public void setCursor(Cursor cursor)(Code)(Java Doc)
public synchronized void setDropTarget(DropTarget dt)(Code)(Java Doc)
public void setEnabled(boolean b)(Code)(Java Doc)
public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc)
public void setFocusTraversalKeysEnabled(boolean focusTraversalKeysEnabled)(Code)(Java Doc)
public void setFocusable(boolean focusable)(Code)(Java Doc)
public void setFont(Font f)(Code)(Java Doc)
public void setForeground(Color c)(Code)(Java Doc)
public void setIgnoreRepaint(boolean ignoreRepaint)(Code)(Java Doc)
public void setLocale(Locale l)(Code)(Java Doc)
public void setLocation(int x, int y)(Code)(Java Doc)
public void setLocation(Point p)(Code)(Java Doc)
public void setMaximumSize(Dimension maximumSize)(Code)(Java Doc)
public void setMinimumSize(Dimension minimumSize)(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
public void setPreferredSize(Dimension preferredSize)(Code)(Java Doc)
public void setSize(int width, int height)(Code)(Java Doc)
public void setSize(Dimension d)(Code)(Java Doc)
public void setVisible(boolean b)(Code)(Java Doc)
public void show()(Code)(Java Doc)
public void show(boolean b)(Code)(Java Doc)
public Dimension size()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public void transferFocus()(Code)(Java Doc)
public void transferFocusBackward()(Code)(Java Doc)
public void transferFocusUpCycle()(Code)(Java Doc)
public void update(Graphics g)(Code)(Java Doc)
public void validate()(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.