Java Doc for DisplayCanvas.java in  » Science » jcm1-source » edu » hws » jcm » draw » 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 » Science » jcm1 source » edu.hws.jcm.draw 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.awt.Component
      java.awt.Canvas
         edu.hws.jcm.draw.DisplayCanvas

DisplayCanvas
public class DisplayCanvas extends Canvas implements ErrorReporter,InputObject,Computable(Code)
A DisplayCanvas is a drawing area that can contain one or more CoordinateRects. Each CoordinateRect can, in turn, contain Drawable items. If you only want one CoordinateRect that fills the whole canvas, you can for the most part ignore the CoordinateRect and work only with the canvas. The option of using an offscreen image for double buffering is provided. By default, this option is on.

If a DisplayCanvas is added to a Controller, then it will take care of calling the checkInput() and compute() methods of the InputObjects and Computables that it contains, so there is no need to add them individually to the Controller. If the DisplayCanvas is added to a JCMPanel, it is automatically added to the Controller for that JCMPanel. (On the other hand, if a DisplayCanvas is added to a Controller, this means that all the items in the DisplayCanvas will be recomputed, even if only some of them need to be.)

The canvas can display an error message that goes away when the canvas is clicked or when clearErrorMessage() is called. This allows the Canvas to be used as an ErrorReporter for a Controller or LimitControlPanel.

When any changes are made to the contents of the Canvas, doRedraw() must be called for those changes to take effect. Normally, doRedraw() is called by the CoordinateRect or by one of the Drawables in a CoordinateRect. Use doRedraw(CoordinateRect c) or doRedraw(int index) to redraw a single CoordinateRect. Note that repainting the canvas is not enough, because this will not automatically refresh the off-screen image.




Constructor Summary
public  DisplayCanvas()
     Create a DisplayCanvas with a white background containing no CoordinateRects.
public  DisplayCanvas(CoordinateRect c)
     Create a DisplayCanvas with a white background and containing the specified CoordinateRect.

Method Summary
public  voidadd(Drawable d)
     Add the specified Drawable item to the first CoordinateRect in this DisplayCanvas.
public  voidadd(Drawable d, int coordRectIndex)
     Add a Drawable item to one of the CoordinateRects associated with the Canvas.
Parameters:
  d - The Drawable item to be added to a CoordinateRect
Parameters:
  coordRectIndex - The index of the CoordinateRect, where the index of the firstCoordinateRect that was added to the cavas is zero, the index of the second is one,and so on.
public  voidaddCoordinateRect(CoordinateRect c)
     Add the specified CoordinateRect to this DisplayCanvas, filling the entire canvas, and with background color equal to the background color of the canvas.
Parameters:
  c - the CoordinateRect to be added.
public  voidaddCoordinateRect(CoordinateRect coords, double hmin, double hmax, double vmin, double vmax, Color background)
     Add a CoordinateRect to the canvas, occupying a specified region of the canvas.
Parameters:
  coords - The CoordinateRect to be added.
public  intaddNewCoordinateRect(double hmin, double hmax, double vmin, double vmax)
     Add a newly created CoordinateRect covering the specified section of the canvas.
public  intaddNewCoordinateRect(double hmin, double hmax, double vmin, double vmax, Color background)
     Add a newly created CoordinateRect covering the specified section of the canvas, with the specfied background color.
public synchronized  voidcheckInput()
     This is generally called by a Controller.
public synchronized  voidclearErrorMessage()
     Clear the error message, if any, that is currently displayed on the canvas.
public synchronized  voidcompute()
     This is generally called by a Controller.
public synchronized  voiddoRedraw()
     Should be called whenever the contents of the canvas have changed and so it needs to need to be redrawn.
public synchronized  voiddoRedraw(int coordRectIndex)
     To be called when the contents of one of the CordinateRects have changed and so it needs to need to be redrawn.
public synchronized  voiddoRedraw(CoordinateRect coords)
     To be called when the contents of one of the CordinateRects have changed and so it needs to need to be redrawn.
public  voiddrawTemp(DrawTemp drawItem)
     Draws the specified item in the first CoordinateRect in this canvas. It is drawn on screen and on the off-screen canvas, if there is one. However, no information is kept about this item, so the drawing will disappear the next time the off-screen canvas is re-drawn (if there is an off-screen canvas) or the next time the canvas is repainted (is there is no off-screen canvas).
public synchronized  voiddrawTemp(DrawTemp drawItem, int coordRectIndex)
     Draws the specified item in the specified CoordinateRect in this canvas. It is drawn on screen and on the off-screen canvas, if there is one. However, no information is kept about this item, so the drawing will disappear the next time the off-screen canvas is re-drawn (if there is an off-screen canvas) or the next time the canvas is repainted (is there is no off-screen canvas).
public  CoordinateRectfindCoordinateRectAt(int pixelX, int pixelY)
     Return CoordinateRect that contains the specified pixel, or null if there is none.
public  CoordinateRectgetCoordinateRect()
     Get the first CoordinateRect in this canvas.
public  CoordinateRectgetCoordinateRect(int i)
     Get the i-th CoordinateRect in this DisplayCanvas.
public  ColorgetErrorBackground()
     Get color that is used as a background when the canvas displays an error message.
public  ColorgetErrorForeground()
     Get color that is used for the text when the canvas displays an error message.
public synchronized  StringgetErrorMessage()
     Get the error message that is currently displayed on the canvas.
public  booleangetHandleMouseZooms()
     Get the "handleMouseZooms" property of this DisplayCanvas, which determines whether the canvas reacts to mouse events by zooming the CoordinateRect that is clicked.
public  DimensiongetPreferredSize()
     This has been overridden to return a default size of 350-by-350 pixels.
public  booleangetUseOffscreenCanvas()
     Set the "useOffscreenCanvas" property of this DisplayCanvas.
public  voidnotifyControllerOnChange(Controller c)
     Method required by InputObject interface; in this class, calls the same method recursively on any CoordinateRects contained in this DisplayCanvas.
public synchronized  voidpaint(Graphics g)
     Draw the contents of the DisplayCanvas.
public  voidprocessMouseEvent(MouseEvent evt)
     This has been overridden to handle the mouse zoom feature.
public  voidprocessMouseMotionEvent(MouseEvent evt)
     This has been overridden to handle the mouse zoom feature.
public  voidreleaseResources()
     Release the memory used the by the off-screen image, if any, that is used for double-buffering.
public  voidsetErrorBackground(Color c)
     Set color to be used as a background when the canvas displays an error message. The default is a light green.
public  voidsetErrorForeground(Color c)
     Set color to be used for the text when the canvas displays an error message. The default is a dark green.
public synchronized  voidsetErrorMessage(Controller c, String message)
     Set an error message to be displayed on the canvas.
public  voidsetHandleMouseZooms(boolean handle)
     Set the "handleMouseZooms" property of this DisplayCanvas.
public  voidsetUseOffscreenCanvas(boolean use)
     Get the "useOffscreenCanvas" property of this DisplayCanvas, which determines whether double-buffering is used.
public  voidupdate(Graphics g)
     This has been overridden to implemnt double-buffering.


Constructor Detail
DisplayCanvas
public DisplayCanvas()(Code)
Create a DisplayCanvas with a white background containing no CoordinateRects.



DisplayCanvas
public DisplayCanvas(CoordinateRect c)(Code)
Create a DisplayCanvas with a white background and containing the specified CoordinateRect. The CoordinateRect fills the entire canvas.
Parameters:
  c - The CoordinateRect that will fill the canvas. If c is null, no CoordinateRect is added to the canvas.




Method Detail
add
public void add(Drawable d)(Code)
Add the specified Drawable item to the first CoordinateRect in this DisplayCanvas. If no CoordinateRect is associated with the canvas, one is created to fill the entire canvas.



add
public void add(Drawable d, int coordRectIndex)(Code)
Add a Drawable item to one of the CoordinateRects associated with the Canvas.
Parameters:
  d - The Drawable item to be added to a CoordinateRect
Parameters:
  coordRectIndex - The index of the CoordinateRect, where the index of the firstCoordinateRect that was added to the cavas is zero, the index of the second is one,and so on. A CoordinateRect with the specified index must already exist in thecanvas, or an IllegalArgumentException is thrown.



addCoordinateRect
public void addCoordinateRect(CoordinateRect c)(Code)
Add the specified CoordinateRect to this DisplayCanvas, filling the entire canvas, and with background color equal to the background color of the canvas.
Parameters:
  c - the CoordinateRect to be added. If null, an IllegalArgumentException is thrown.



addCoordinateRect
public void addCoordinateRect(CoordinateRect coords, double hmin, double hmax, double vmin, double vmax, Color background)(Code)
Add a CoordinateRect to the canvas, occupying a specified region of the canvas.
Parameters:
  coords - The CoordinateRect to be added. If this is null, an IllegalArgumentExceptionis thrown.
Parameters:
  hmin - Specifies the left edge of the CoordinateRect in the canvas, as a fraction of the size of the canvas.This must be in the range form 0 to 1, or an IllegalArgumentException is thrown.
Parameters:
  hmax - Specifies the right edge of the CoordinateRect in the canvas, as a fraction of the size of the canvas.This must be in the range form 0 to 1 and must be strictly greater than hmin, or an IllegalArgumentException is thrown.
Parameters:
  vmin - Specifies the top edge of the CoordinateRect in the canvas, as a fraction of the size of the canvas.This must be in the range form 0 to 1, or an IllegalArgumentException is thrown.
Parameters:
  vmax - Specifies the bottom edge of the CoordinateRect in the canvas, as a fraction of the size of the canvas.This must be in the range form 0 to 1 and must be strictly greater than vmin, or an IllegalArgumentException is thrown.
Parameters:
  background - The background color of the CoordinateRect. The CoordinateRect is filled with this colorbefore the Drawables that it contains are drawn. If background is null, no filling takes placeand the canvas shows through.



addNewCoordinateRect
public int addNewCoordinateRect(double hmin, double hmax, double vmin, double vmax)(Code)
Add a newly created CoordinateRect covering the specified section of the canvas. hmin, hmax, vmin, vmax must be in the range 0 to 1. The index of the new CoordinateRect is returned.



addNewCoordinateRect
public int addNewCoordinateRect(double hmin, double hmax, double vmin, double vmax, Color background)(Code)
Add a newly created CoordinateRect covering the specified section of the canvas, with the specfied background color. hmin, hmax, vmin, vmax must be in the range 0 to 1. The index of the new CoordinateRect is returned.



checkInput
public synchronized void checkInput()(Code)
This is generally called by a Controller. It calls the checkInput() method of any InputObject displayed on this Canvas.



clearErrorMessage
public synchronized void clearErrorMessage()(Code)
Clear the error message, if any, that is currently displayed on the canvas.



compute
public synchronized void compute()(Code)
This is generally called by a Controller. It calls the compute() method of any InputObject displayed on this Canvas.



doRedraw
public synchronized void doRedraw()(Code)
Should be called whenever the contents of the canvas have changed and so it needs to need to be redrawn. (This causes the off-screen image to be redrawn. A simple call to repaint() does not do this.) If only one CoordinateRect needs to be repainted, you can call doRedraw(int i) or or doRedraw(CoordinateRect c), which can be more efficient than redrawing the whole canvas. If an error message is displayed, it will be cleared.



doRedraw
public synchronized void doRedraw(int coordRectIndex)(Code)
To be called when the contents of one of the CordinateRects have changed and so it needs to need to be redrawn. (This causes the off-screen image to be redrawn. A simple call to repaint() does not do this.) If an error message is displayed, it will be cleared.
Parameters:
  coordRectIndex - The index of the CoordinateRect to be redrawn, where the first CoordinateRect is at index zero.If there is no such CoordinateRect, then nothing is done.



doRedraw
public synchronized void doRedraw(CoordinateRect coords)(Code)
To be called when the contents of one of the CordinateRects have changed and so it needs to need to be redrawn. (This causes the off-screen image to be redrawn. A simple call to repaint() does not do this.) If an error message is displayed, it will be cleared.
Parameters:
  coords - The CoordinateRect to be redrawn. If coords is not in this DisplayCanvas, nothing is done.



drawTemp
public void drawTemp(DrawTemp drawItem)(Code)
Draws the specified item in the first CoordinateRect in this canvas. It is drawn on screen and on the off-screen canvas, if there is one. However, no information is kept about this item, so the drawing will disappear the next time the off-screen canvas is re-drawn (if there is an off-screen canvas) or the next time the canvas is repainted (is there is no off-screen canvas). If the canvas contains no CoordinateRect when this is called, a new one is added. Note that this method should only be called after the canvas has appeared on the screen.



drawTemp
public synchronized void drawTemp(DrawTemp drawItem, int coordRectIndex)(Code)
Draws the specified item in the specified CoordinateRect in this canvas. It is drawn on screen and on the off-screen canvas, if there is one. However, no information is kept about this item, so the drawing will disappear the next time the off-screen canvas is re-drawn (if there is an off-screen canvas) or the next time the canvas is repainted (is there is no off-screen canvas). Note that this method should only be called after the canvas has appeared on the screen.
Parameters:
  drawItem - The non-null object that is to be drawn
Parameters:
  coordRectIndex - The index of the CoordinateRect in which it is to be drawn, where the index of the fist CoordinateRectadded to the canvas is zero, and so on. If there isno CoordinateRect with the specified index, an IllegalArgumentExceptionis thrown.



findCoordinateRectAt
public CoordinateRect findCoordinateRectAt(int pixelX, int pixelY)(Code)
Return CoordinateRect that contains the specified pixel, or null if there is none. The CoordinateRects are searched in reverse order, so that the "top" CoordinateRect at that point is returned. Note that this method only makes sense if the canvas has already been displayed. (Mostly, this is for internal use in this class.)



getCoordinateRect
public CoordinateRect getCoordinateRect()(Code)
Get the first CoordinateRect in this canvas. (If none exists, one is created and added to the canvas.)



getCoordinateRect
public CoordinateRect getCoordinateRect(int i)(Code)
Get the i-th CoordinateRect in this DisplayCanvas. They are numbered staring from zero. If there is no i-th rect, null is returned, except that if there are NO coordinate rects and a request for rect 0 is received, then a new CoordinateRect is added to fill the entire canvas.



getErrorBackground
public Color getErrorBackground()(Code)
Get color that is used as a background when the canvas displays an error message.



getErrorForeground
public Color getErrorForeground()(Code)
Get color that is used for the text when the canvas displays an error message.



getErrorMessage
public synchronized String getErrorMessage()(Code)
Get the error message that is currently displayed on the canvas. If no error is displyed, the return value is null.



getHandleMouseZooms
public boolean getHandleMouseZooms()(Code)
Get the "handleMouseZooms" property of this DisplayCanvas, which determines whether the canvas reacts to mouse events by zooming the CoordinateRect that is clicked.



getPreferredSize
public Dimension getPreferredSize()(Code)
This has been overridden to return a default size of 350-by-350 pixels. Not usually called directly.



getUseOffscreenCanvas
public boolean getUseOffscreenCanvas()(Code)
Set the "useOffscreenCanvas" property of this DisplayCanvas. IF the value is true, an off-screen image is used for double buffering. This property is true by default.



notifyControllerOnChange
public void notifyControllerOnChange(Controller c)(Code)
Method required by InputObject interface; in this class, calls the same method recursively on any CoordinateRects contained in this DisplayCanvas. This is meant to be called by JCMPanel.gatherInputs().



paint
public synchronized void paint(Graphics g)(Code)
Draw the contents of the DisplayCanvas. Not usually called directly.



processMouseEvent
public void processMouseEvent(MouseEvent evt)(Code)
This has been overridden to handle the mouse zoom feature. Not meant to be called directly.



processMouseMotionEvent
public void processMouseMotionEvent(MouseEvent evt)(Code)
This has been overridden to handle the mouse zoom feature. Not meant to be called directly.



releaseResources
public void releaseResources()(Code)
Release the memory used the by the off-screen image, if any, that is used for double-buffering. It's a good idea to call this if the DisplayCanvas is in an applet and the applet is stopped.



setErrorBackground
public void setErrorBackground(Color c)(Code)
Set color to be used as a background when the canvas displays an error message. The default is a light green. If the specified Color value is null, nothing is done.



setErrorForeground
public void setErrorForeground(Color c)(Code)
Set color to be used for the text when the canvas displays an error message. The default is a dark green. If the specified Color value is null, nothing is done.



setErrorMessage
public synchronized void setErrorMessage(Controller c, String message)(Code)
Set an error message to be displayed on the canvas. This method is generally called by a Controller or a LimitControlPanel. If you call it directly, use null as the first parameter.
Parameters:
  c - The Controller, if any, that is calling this routine. This controller will be notifiedwhen the error message is cleared. If the method is not being called by a contrller, thisparameter should be set to null.
Parameters:
  message - The error message to be displayed. If the value is null or is a blank string, the current message, if any, is cleared.



setHandleMouseZooms
public void setHandleMouseZooms(boolean handle)(Code)
Set the "handleMouseZooms" property of this DisplayCanvas. IF the value is true, then clicking on the canvas will zoom in on the point that is clicked and shift-clicking will zoom out from that point. Only the CoordinateRect, if any, that contains the point is zoomed. Furthermore, if the user clicks-and-drags, a rectangle is drawn. When the mouse is released, the interior of the rectangle is zoomed to fill the CoordinateRect. This property is false by default.



setUseOffscreenCanvas
public void setUseOffscreenCanvas(boolean use)(Code)
Get the "useOffscreenCanvas" property of this DisplayCanvas, which determines whether double-buffering is used.



update
public void update(Graphics g)(Code)
This has been overridden to implemnt double-buffering. Not meant to be called directly.



Methods inherited from java.awt.Canvas
public void addNotify()(Code)(Java Doc)
public void createBufferStrategy(int numBuffers)(Code)(Java Doc)
public void createBufferStrategy(int numBuffers, BufferCapabilities caps) throws AWTException(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public BufferStrategy getBufferStrategy()(Code)(Java Doc)
public void paint(Graphics g)(Code)(Java Doc)
public void update(Graphics g)(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.