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

All known Subclasses:   ob.text.Text,
OBLabel
public class OBLabel extends Panel implements IScrollable(Code)


Field Summary
final public static  intBOTTOM
    
final public static  intCENTER
    
final public static  intINSET
    
final public static  intLEFT
    
final public static  intNONE
    
final public static  intNORMAL
    
final public static  intRAISED
    
final public static  intRIGHT
    
final public static  intSTANDARD
    
final public static  intTOP
    
protected  ColorborderColor
    
 Fontdefaultfont
    
 booleanm_bAutoWrap
    
protected  booleanm_bDoubleBuffering
    
protected  booleanm_bLockUpdate
    
 booleanm_bStrikeOut
    
 booleanm_bUnderline
    
protected  Insetsm_inTextInsets
    
 intm_nBorderStyle
    
 intm_nHAlign
    
 intm_nVAlign
    
 intm_nWidthOffset
    
protected  Vectorm_vParagraphs
    
transient  Imageoffscreen
    
 intprevYOffset
    
 inty_offset
    

Constructor Summary
public  OBLabel()
     Null constructor that just calls the other contructor with a blank String.
public  OBLabel(String s)
     Preferred constructor for the OBLabel.

Method Summary
public  voidaddNotify()
     Overriden method to insure the widths of the Paragraph data type are set correctly.
public  voiddraw(Graphics g)
     This is where it all happens.
public  booleangetAutoWrap()
    
public  booleangetBorder()
     This returns whether or not a border will be drawn around the text control.
public  ColorgetBorderColor()
     This returns the color of the normal style border drawn around the text control.
public  intgetBorderStyle()
     This returns the style of the border drawn around the text control.
public  intgetHAlign()
     This returns the horizontal alignment setting of the text control.
public  InsetsgetInsets()
     This returns the insets of the text control, which represents the pixel space between the border and the drawn text.
public  DimensiongetMinimumSize()
     This method returns the minimum size of the control, overridden for layout managers.
public  DimensiongetPreferredSize()
     This returns the preferred size of the text control, based on the encapsulated text.
public  booleangetRaised()
     This returns whether or not the border drawn around the text control is raised.
public  StringgetText()
     This returns the text of the control.
public  intgetTextHIndent()
     This returns the horizontal indentation of the text.
public  intgetTextVIndent()
     This returns the vertical indentation of the text control.
public  intgetVAlign()
     This returns the vertical alignment of the text control.
protected  intgetWidthOffset()
     This method returns the width offset.
protected  booleanisAutoWrap()
     This returns whether or not the control is in autowrap mode or not.
public  booleanisLockUpdate()
     This returns whether or not the control is locked from updating.
public  booleanisStrikeOut()
     This returns whether or not the text is drawn along with a line through it.
public  booleanisUnderLine()
     This returns whether or not the text is drawn along with a line underneath.
public  voidpaint(Graphics g)
    
protected  voidprintBorder(Graphics g)
     This takes the Graphics object and draws the border around the text control, given the style setting.
public  voidrepaint()
    
public  voidsetAutoWrap(boolean bAutoWrap)
     This sets whether or not the text control will wrap the text whenever the text breaches the width of the control.
public  voidsetBackground(Color c)
     This sets the background of the text control.
public  voidsetBorder(boolean b)
     This acts as a shortcut method to turn off the border, given a false argument.
public  voidsetBorderColor(Color c)
     This sets the color of the border drawn around a NORMAL border.
public  voidsetBorderStyle(int style)
     This sets the style of the border to be drawn around the text control.
public  voidsetBounds(int x, int y, int w, int h)
     This sets the size of the text control.
public  voidsetFont(int p, Font f)
    
public  voidsetFont(Font f)
     This sets the font of the text control.
public  voidsetForeground(Color c)
     This sets the foreground of the text control, which is the same as the color of the text drawn.
public  voidsetHAlign(int align)
     This sets the horizontal alignment of the text control.
public  voidsetInsets(Insets in)
     This sets the insets of the text control.
public  voidsetLockUpdate(boolean bLock)
     This method is used to lock the update from repainting the control while you manipulate the control as you like.
public  voidsetRaised(boolean b)
     This sets the border style to OBLabel.RAISED.
public  voidsetSize(int w, int h)
     This sets the size of the control.
public  voidsetStrikeOut(boolean b)
     This sets whether or not to strikeout the text.
public  voidsetText(String t)
     This sets the text of the control.
public  voidsetText(String t, boolean repaint)
     This sets the text of the control and if the boolean flag is set, it then repaints.
public  voidsetTextHIndent(int n)
     This sets the text's horizontal indentation through the Insets left property.
public  voidsetTextVIndent(int n)
     This sets the vertical indentation of the text control through the Insets' top property.
public  voidsetUnderLine(boolean b)
     This sets whether or not to draw an line underneath the text in the text control.
public  voidsetVAlign(int align)
    
protected  voidsetWidthOffset(int w)
     This is a method to set a width offset, for subclasses whenever they add a component within the text control that would take up some width.
public  voidsetXOffset(int n)
    
public  voidupdate(Graphics g, int x, int y, int w, int h)
    
public  voidupdate()
    
public  voidupdate(Graphics g)
    
protected  booleanvalidateImage()
     validateImage is called every time when the paint method is called.

Field Detail
BOTTOM
final public static int BOTTOM(Code)



CENTER
final public static int CENTER(Code)



INSET
final public static int INSET(Code)



LEFT
final public static int LEFT(Code)



NONE
final public static int NONE(Code)



NORMAL
final public static int NORMAL(Code)



RAISED
final public static int RAISED(Code)



RIGHT
final public static int RIGHT(Code)



STANDARD
final public static int STANDARD(Code)



TOP
final public static int TOP(Code)



borderColor
protected Color borderColor(Code)



defaultfont
Font defaultfont(Code)



m_bAutoWrap
boolean m_bAutoWrap(Code)



m_bDoubleBuffering
protected boolean m_bDoubleBuffering(Code)



m_bLockUpdate
protected boolean m_bLockUpdate(Code)



m_bStrikeOut
boolean m_bStrikeOut(Code)



m_bUnderline
boolean m_bUnderline(Code)



m_inTextInsets
protected Insets m_inTextInsets(Code)



m_nBorderStyle
int m_nBorderStyle(Code)



m_nHAlign
int m_nHAlign(Code)



m_nVAlign
int m_nVAlign(Code)



m_nWidthOffset
int m_nWidthOffset(Code)



m_vParagraphs
protected Vector m_vParagraphs(Code)



offscreen
transient Image offscreen(Code)



prevYOffset
int prevYOffset(Code)



y_offset
int y_offset(Code)




Constructor Detail
OBLabel
public OBLabel()(Code)
Null constructor that just calls the other contructor with a blank String.



OBLabel
public OBLabel(String s)(Code)
Preferred constructor for the OBLabel. This sets up the Paragraph Vector and other relevant data.
Parameters:
  s - - text of the label




Method Detail
addNotify
public void addNotify()(Code)
Overriden method to insure the widths of the Paragraph data type are set correctly.



draw
public void draw(Graphics g)(Code)
This is where it all happens. :) This is overridden to render each Paragraph in the text control and take other things into account, such as vertical/horizontal alignment, text insets, and scrolling behavior from subclasses.
Parameters:
  g - - Graphics object to draw upon



getAutoWrap
public boolean getAutoWrap()(Code)
Returns whether or not the text control will autowrap whenever the text breaches the width of the control autowrap flag



getBorder
public boolean getBorder()(Code)
This returns whether or not a border will be drawn around the text control. border boolean flag



getBorderColor
public Color getBorderColor()(Code)
This returns the color of the normal style border drawn around the text control. color of the border



getBorderStyle
public int getBorderStyle()(Code)
This returns the style of the border drawn around the text control. (OBLabel.NONE||OBLabel.INSET||OBLabel.NORMAL||OBLabel.RAISED)



getHAlign
public int getHAlign()(Code)
This returns the horizontal alignment setting of the text control. (OBLabel.LEFT||OBLabel.CENTER||OBLabel.RIGHT)



getInsets
public Insets getInsets()(Code)
This returns the insets of the text control, which represents the pixel space between the border and the drawn text. insets of the drawn text



getMinimumSize
public Dimension getMinimumSize()(Code)
This method returns the minimum size of the control, overridden for layout managers. dimension of the minimum size



getPreferredSize
public Dimension getPreferredSize()(Code)
This returns the preferred size of the text control, based on the encapsulated text. This method is overridden for layout managers. dimension of the preferred size



getRaised
public boolean getRaised()(Code)
This returns whether or not the border drawn around the text control is raised. border is raised



getText
public String getText()(Code)
This returns the text of the control. the text of the control



getTextHIndent
public int getTextHIndent()(Code)
This returns the horizontal indentation of the text. (the text insets' left property) horizontal indentation of the text



getTextVIndent
public int getTextVIndent()(Code)
This returns the vertical indentation of the text control. Same thing as the Insets' top property. text's vertical indentation



getVAlign
public int getVAlign()(Code)
This returns the vertical alignment of the text control. (OBLabel.TOP||OBLabel.CENTER||OBLabel.BOTTOM)



getWidthOffset
protected int getWidthOffset()(Code)
This method returns the width offset. This is used by subclasses of OBLabel, which may add components which narrow the space left to draw the text. the width offset



isAutoWrap
protected boolean isAutoWrap()(Code)
This returns whether or not the control is in autowrap mode or not. autowrap behavior flag



isLockUpdate
public boolean isLockUpdate()(Code)
This returns whether or not the control is locked from updating. whether or not the control is locked



isStrikeOut
public boolean isStrikeOut()(Code)
This returns whether or not the text is drawn along with a line through it. strikeout boolean flag



isUnderLine
public boolean isUnderLine()(Code)
This returns whether or not the text is drawn along with a line underneath. underline boolean flag



paint
public void paint(Graphics g)(Code)



printBorder
protected void printBorder(Graphics g)(Code)
This takes the Graphics object and draws the border around the text control, given the style setting.
Parameters:
  g - - Graphics object to draw upon



repaint
public void repaint()(Code)



setAutoWrap
public void setAutoWrap(boolean bAutoWrap)(Code)
This sets whether or not the text control will wrap the text whenever the text breaches the width of the control.
Parameters:
  bAutoWrap - - boolean flag



setBackground
public void setBackground(Color c)(Code)
This sets the background of the text control. It is overridden to specify to the Paragraph's the new color.
Parameters:
  c - - new background color



setBorder
public void setBorder(boolean b)(Code)
This acts as a shortcut method to turn off the border, given a false argument. It is better to use setBorderStyle, instead.
Parameters:
  b - - whether or not to draw the border
See Also:   OBLabel.setBorderStyle



setBorderColor
public void setBorderColor(Color c)(Code)
This sets the color of the border drawn around a NORMAL border.
Parameters:
  c - - color of the NORMAL border



setBorderStyle
public void setBorderStyle(int style)(Code)
This sets the style of the border to be drawn around the text control.
Parameters:
  style - - one of these: (OBLabel.NONE||OBLabel.INSET||OBLabel.RAISED||OBLabel.NORMAL)



setBounds
public void setBounds(int x, int y, int w, int h)(Code)
This sets the size of the text control. It is overridden to ensure that the Paragraph's get the new width setting.
Parameters:
  x - - new x coordinate
Parameters:
  y - - new y coordinate
Parameters:
  w - - new width
Parameters:
  h - - new height



setFont
public void setFont(int p, Font f)(Code)
setFont sets the font for a particular paragraph
Parameters:
  p - - the index of the paragraph
Parameters:
  f - - the font



setFont
public void setFont(Font f)(Code)
This sets the font of the text control. This is overridden to ensure that the Paragraph's gets the new Font and FontMetrics settings.
Parameters:
  f - - new font



setForeground
public void setForeground(Color c)(Code)
This sets the foreground of the text control, which is the same as the color of the text drawn. This is overridden to ensure that the Paragraph's get the new color setting.
Parameters:
  c - - new foreground color



setHAlign
public void setHAlign(int align)(Code)
This sets the horizontal alignment of the text control. One of these: (OBLabel.LEFT||OBLabel.CENTER||OBLabel.RIGHT)
Parameters:
  align - - new horizontal alignment



setInsets
public void setInsets(Insets in)(Code)
This sets the insets of the text control. Overridden to ensure that the Paragraph's get the new Insets settings.
Parameters:
  in - - new Insets of the text control



setLockUpdate
public void setLockUpdate(boolean bLock)(Code)
This method is used to lock the update from repainting the control while you manipulate the control as you like.
Parameters:
  bLock - - boolean to lock or unlock the control



setRaised
public void setRaised(boolean b)(Code)
This sets the border style to OBLabel.RAISED. It is better to use the setBorderStyle method, instead.
Parameters:
  b - - if true, it will raise the border
See Also:   OBLabel.setBorderStyle



setSize
public void setSize(int w, int h)(Code)
This sets the size of the control. This is overriden to make sure the Paragraph's get the new width setting.
Parameters:
  w - - new width
Parameters:
  h - - new height



setStrikeOut
public void setStrikeOut(boolean b)(Code)
This sets whether or not to strikeout the text.
Parameters:
  b - - new strikeout behavior flag



setText
public void setText(String t)(Code)
This sets the text of the control.
Parameters:
  t - - new text of the control



setText
public void setText(String t, boolean repaint)(Code)
This sets the text of the control and if the boolean flag is set, it then repaints.
Parameters:
  t - - new text
Parameters:
  repaint - - whether or not to repaint



setTextHIndent
public void setTextHIndent(int n)(Code)
This sets the text's horizontal indentation through the Insets left property.
Parameters:
  n - - new horizontal indentation
See Also:   OBLabel.setInsets



setTextVIndent
public void setTextVIndent(int n)(Code)
This sets the vertical indentation of the text control through the Insets' top property.
Parameters:
  n - - new vertical indentation
See Also:   OBLabel.setInsets



setUnderLine
public void setUnderLine(boolean b)(Code)
This sets whether or not to draw an line underneath the text in the text control.
Parameters:
  b - - underline behavior flag



setVAlign
public void setVAlign(int align)(Code)
This sets the vertical alignment of the text control from one of these: (OBLabel.TOP||OBLabel.CENTER||OBLabel.BOTTOM)
Parameters:
  align - - new vertical alignment



setWidthOffset
protected void setWidthOffset(int w)(Code)
This is a method to set a width offset, for subclasses whenever they add a component within the text control that would take up some width. For example, the SmartEdit control with the spinner buttons.
Parameters:
  w - - new width offset



setXOffset
public void setXOffset(int n)(Code)



update
public void update(Graphics g, int x, int y, int w, int h)(Code)



update
public void update()(Code)



update
public void update(Graphics g)(Code)



validateImage
protected boolean validateImage()(Code)
validateImage is called every time when the paint method is called. this method checks if the off screen image is valid.



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.