Java Doc for JidePopup.java in  » Swing-Library » jide-common » com » jidesoft » popup » 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 » Swing Library » jide common » com.jidesoft.popup 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.awt.Component
      java.awt.Container
         javax.swing.JComponent
            com.jidesoft.popup.JidePopup

JidePopup
public class JidePopup extends JComponent implements Accessible,WindowConstants(Code)
JidePopup is a popup window which can be resized, dragged and autohide if time out.

JidePopup uses JWindow as the container in order to show itself. By default, JidePopup is not focusable which means no component in the JidePopup will get focus. For example, if you put a JTextField in JidePopup and the JTextField becomes not editable, this is a result of non-focusable JWindow. So if you want components in JidePopup to be able to receive focus, you can either call setFocusable(true) or you can call JidePopup.setDefaultFocusComponent(java.awt.Component) to set a child component as the default focus component.


Inner Class :protected class AccessiblePopup extends AccessibleJComponent implements AccessibleValue

Field Summary
final  intAROUND_SIZE
    
final public static  StringATTACHABLE_PROPERTY
     Constrained property name indicating that the popup is attachable.
final public static  StringCONTENT_PANE_PROPERTY
     Bound property name.
final public static  StringDETACHED_PROPERTY
     Bound property name for if the popup is detached.
public  intDISTANCE_TO_SCREEN_BORDER
     The distance between alert and screen border.
final public static  intDO_NOTHING_ON_MOVED
     Hides the popup when the owner is moved.
final public static  StringGLASS_PANE_PROPERTY
     Bound property name.
final public static  intHIDE_ON_MOVED
     Hides the popup when the owner is moved.
final public static  StringLAYERED_PANE_PROPERTY
     Bound property name.
final public static  StringMENU_BAR_PROPERTY
     Bound property name.
final public static  StringMOVABLE_PROPERTY
     Bound property name for gripper.
final public static  intMOVE_ON_MOVED
     Moves the popup along with owner when the owner is moved.
final public static  StringOWNER_PROPERTY
     Bound property name for owner.
final public static  StringPROPERTY_GRIPPER_LOCATION
    
final public static  StringRESIZABLE_PROPERTY
     Bound property name for resizable.
final public static  StringROOT_PANE_PROPERTY
     Bound property name.
final public static  StringTRANSIENT_PROPERTY
    
final public static  StringVISIBLE_PROPERTY
     Bound property name.
protected  boolean_detached
    
protected  Insets_insets
    
protected  Dimension_previousSize
    
protected  ResizableWindow_window
    

Constructor Summary
public  JidePopup()
     Creates a Popup.

Method Summary
public  voidaddExcludedComponent(Component component)
     Adds a component as excluded component.
protected  voidaddImpl(Component comp, Object constraints, int index)
     Ensures that, by default, children cannot be added directly to this component. Instead, children must be added to its content pane. For example:
 thisComponent.getContentPane().add(child)
 
An attempt to add to directly to this component will cause a runtime exception to be thrown.
public  voidaddPopupMenuListener(PopupMenuListener l)
     Adds a PopupMenu listener which will listen to notification messages from the popup portion of the combo box.
protected  voidancestorHidden()
     This method will process component hidden event for the popup's ancestor. By default we will hide the popup immediately.
protected  voidancestorMoved()
     This method will process component moved event for the popup's ancestor. By default we will move the popup if getDefaultMoveOperation() is MOVE_ON_MOVED, or hide the popup if getDefaultMoveOperation() is HIDE_ON_MOVED.
protected  voidbeginDragging(JComponent f, int mouseX, int mouseY, double relativeX, double relativeY)
    
protected  voidcontentResized()
    
static  voidconvertPointToScreen(Point p, Component c, boolean startInFloat)
    
protected  ResizableWindowcreatePopupContainer()
    
protected  ResizableWindowcreatePopupContainer(Component owner)
    
protected  JRootPanecreateRootPane()
     Called by the constructor to set up the JRootPane.
protected  voidcreateWindow(Component owner, int x, int y)
    
protected  voiddrag(JComponent f, int newX, int newY, int mouseModifiers)
    
protected  voidendDragging()
    
public  voidfirePopupMenuCanceled()
     Notifies PopupMenuListeners that the popup portion of the combo box has been canceled.
public  voidfirePopupMenuWillBecomeInvisible()
     Notifies PopupMenuListeners that the popup portion of the combo box has become invisible.
public  voidfirePopupMenuWillBecomeVisible()
     Notifies PopupMenuListeners that the popup portion of the combo box will become visible.
public  AccessibleContextgetAccessibleContext()
     Gets the AccessibleContext associated with this Popup.
public  ContainergetContentPane()
     Returns the content pane for this Popup.
public  ComponentgetDefaultFocusComponent()
     Gets the default focus component.
public  intgetDefaultMoveOperation()
     Gets the default operation when the owner is moved.
protected  RectanglegetDisplayScreenBounds(Component owner)
    
protected  PointgetDisplayStartLocation(Rectangle screenDim, Dimension size, int location)
    
protected static  FramegetFrame(Component c)
    
public  ComponentgetGlassPane()
     Returns the glass pane for this popup.
public  intgetGripperLocation()
    
public  JMenuBargetJMenuBar()
     Returns the current JMenuBar for this Popup, or null if no menu bar has been set.
public  JLayeredPanegetLayeredPane()
     Returns the layered pane for this popup.
public  ComponentgetOwner()
    
public  BordergetPopupBorder()
     Gets the popup border set by JidePopup.setPopupBorder(javax.swing.border.Border) .
public  RectanglegetPopupBounds()
    
protected  PointgetPopupLocation(Point point, Dimension size, Component owner)
     Calculates the popup location.
Parameters:
  point - owner is top-left coordinate relative to screen.
Parameters:
  size - the size of the popup window.
Parameters:
  owner - the owner new popup location.
public  PopupMenuListener[]getPopupMenuListeners()
     Returns an array of all the PopupMenuListeners added to this JComboBox with addPopupMenuListener().
public  JRootPanegetRootPane()
     Returns the rootPane object for this popup.
public  intgetTimeout()
     Gets the time out value, in milliseconds.
public static  ComponentgetTopLevelAncestor(Component component)
    
public  PopupUIgetUI()
     Returns the look-and-feel object that renders this component.
public  StringgetUIClassID()
     Returns the name of the look-and-feel class that renders this component.
protected  voidhandleComponentEvent(ComponentEvent e)
     This method will process component event.
protected  voidhandleMouseDragged(MouseEvent e)
    
protected  voidhandleMouseEntered(MouseEvent e)
    
protected  voidhandleMouseExited(MouseEvent e)
    
protected  voidhandleMousePressed(MouseEvent e)
    
protected  voidhandleMouseReleased(MouseEvent e)
    
protected  voidhandleWindowEvent(WindowEvent e)
    
public  voidhidePopup()
    
public  voidhidePopup(boolean cancelled)
    
public  voidhidePopupImmediately(boolean cancelled)
    
public  voidhidePopupImmediately()
     Hides the popup immediately (compare to JidePopup.hidePopup() could use animation to hide the popup).
protected  voidinstallBorder()
    
protected  voidinstallListeners()
    
protected  voidinternalShowPopup(int x, int y)
    
protected  voidinternalShowPopup(int x, int y, Component owner)
    
static  booleanisAncestorOf(Component component, Object ancester)
    
public  booleanisAttachable()
     Checks if the popup is attachable.
public  booleanisDetached()
     Checks if the popup is detached.

A popup has detached and attached mode.

protected  booleanisDragging()
    
public  booleanisExcludedComponent(Component component)
     Checks if a component is an excluded component.
public  booleanisMovable()
     Checks if the popup is movable.
public  booleanisPopupVisible()
    
public  booleanisResizable()
     Checks if the popup is resizable.
protected  booleanisRootPaneCheckingEnabled()
     Returns whether calls to add and setLayout cause an exception to be thrown.
public  booleanisTransient()
     Checks if the popup is transient.
 booleanisWithinAroundArea(Point p, Point newPoint)
    
protected  voidmovePopup()
    
public  voidpackPopup()
    
public  voidremove(Component comp)
     Removes the specified component from this container.
public  voidremoveExcludedComponent(Component component)
     Removes a component from the excluded component list.
public  voidremovePopupMenuListener(PopupMenuListener l)
     Removes a PopupMenuListener.
public  voidsetAttachable(boolean attachable)
     Sets the attachable option.
public  voidsetContentPane(Container c)
     Sets this Popup's contentPane property.
public  voidsetDefaultFocusComponent(Component defaultFocusComponent)
     Sets the default focus component.
public  voidsetDefaultMoveOperation(int defaultMoveOperation)
     Sets the default operation when the owner is moved.
public  voidsetDetached(boolean detached)
     Changes the popup's detached mode.
public  voidsetGlassPane(Component glass)
     Sets this Popup's glassPane property.
public  voidsetGripperLocation(int gripperLocation)
     Sets the gripper location.
public  voidsetJMenuBar(JMenuBar m)
     Sets the menuBar property for this Popup.
public  voidsetLayeredPane(JLayeredPane layered)
     Sets this Popup's layeredPane property.
public  voidsetLayout(LayoutManager manager)
     Ensures that, by default, the layout of this component cannot be set. Instead, the layout of its content pane should be set. For example:
 thisComponent.getContentPane().setLayout(new GridLayout(1,2))
 
An attempt to set the layout of this component will cause an runtime exception to be thrown.
public  voidsetMovable(boolean movable)
     Sets the movable attribute.
public  voidsetOwner(Component owner)
    
public  voidsetPopupBorder(Border popupBorder)
     Sets the border for this popup.
public  voidsetResizable(boolean resizable)
     Sets the resizable option.
protected  voidsetRootPane(JRootPane root)
     Sets the rootPane property for this Popup.
protected  voidsetRootPaneCheckingEnabled(boolean enabled)
     Determines whether calls to add and setLayout cause an exception to be thrown.
public  voidsetTimeout(int timeout)
     Sets the time out value, in milliseconds.
public  voidsetTransient(boolean isTransient)
     Sets the transient attribute.
public  voidsetUI(PopupUI ui)
     Sets the UI delegate for this Popup.
public  voidsetVisible(boolean visible)
     Makes the component visible or invisible.
public  voidsetupResizeCorner(int corner)
     Setup Resizable's ResizeCorner.
public  voidshowPopup()
     Shows the popup.
public  voidshowPopup(Component owner)
     Shows the popup.
public  voidshowPopup(Insets insets)
     Shows the popup.
public  voidshowPopup(Insets insets, Component owner)
     Shows the popup.
public  voidshowPopup(int location)
     Shows the popup at the specified location relative to the screen.
public  voidshowPopup(int location, Component owner)
     Shows the popup at the specified location relative to the owner.
public  voidshowPopup(int x, int y)
     Shows the popup at the specified x and y coordinates.
public  voidshowPopup(int x, int y, Component owner)
     Shows the popup at the specified x and y coordinates.
protected  voidshowPopupImmediately()
    
public  voidupdateUI()
     Notification from the UIManager that the look and feel has changed.

Field Detail
AROUND_SIZE
final int AROUND_SIZE(Code)



ATTACHABLE_PROPERTY
final public static String ATTACHABLE_PROPERTY(Code)
Constrained property name indicating that the popup is attachable.



CONTENT_PANE_PROPERTY
final public static String CONTENT_PANE_PROPERTY(Code)
Bound property name.



DETACHED_PROPERTY
final public static String DETACHED_PROPERTY(Code)
Bound property name for if the popup is detached.



DISTANCE_TO_SCREEN_BORDER
public int DISTANCE_TO_SCREEN_BORDER(Code)
The distance between alert and screen border.



DO_NOTHING_ON_MOVED
final public static int DO_NOTHING_ON_MOVED(Code)
Hides the popup when the owner is moved.



GLASS_PANE_PROPERTY
final public static String GLASS_PANE_PROPERTY(Code)
Bound property name.



HIDE_ON_MOVED
final public static int HIDE_ON_MOVED(Code)
Hides the popup when the owner is moved.



LAYERED_PANE_PROPERTY
final public static String LAYERED_PANE_PROPERTY(Code)
Bound property name.



MENU_BAR_PROPERTY
final public static String MENU_BAR_PROPERTY(Code)
Bound property name.



MOVABLE_PROPERTY
final public static String MOVABLE_PROPERTY(Code)
Bound property name for gripper.



MOVE_ON_MOVED
final public static int MOVE_ON_MOVED(Code)
Moves the popup along with owner when the owner is moved.



OWNER_PROPERTY
final public static String OWNER_PROPERTY(Code)
Bound property name for owner.



PROPERTY_GRIPPER_LOCATION
final public static String PROPERTY_GRIPPER_LOCATION(Code)



RESIZABLE_PROPERTY
final public static String RESIZABLE_PROPERTY(Code)
Bound property name for resizable.



ROOT_PANE_PROPERTY
final public static String ROOT_PANE_PROPERTY(Code)
Bound property name.



TRANSIENT_PROPERTY
final public static String TRANSIENT_PROPERTY(Code)



VISIBLE_PROPERTY
final public static String VISIBLE_PROPERTY(Code)
Bound property name.



_detached
protected boolean _detached(Code)



_insets
protected Insets _insets(Code)



_previousSize
protected Dimension _previousSize(Code)



_window
protected ResizableWindow _window(Code)




Constructor Detail
JidePopup
public JidePopup()(Code)
Creates a Popup.




Method Detail
addExcludedComponent
public void addExcludedComponent(Component component)(Code)
Adds a component as excluded component. If a component is an excluded component or descendant of an excluded component, clicking on it will not hide the popup.

For example, AbstractComboBox uses JidePopup to display the popup. If you want to show a JDialog from the popup, you will have to add the dialog as excluded component. See below for an example.


 JDialog dialog =new JDialog((Frame) JideSwingUtilities.getWindowForComponent(this), true);
 dialog.add(new JTable(10, 4));
 dialog.pack();
 Container ancestorOfClass = SwingUtilities.getAncestorOfClass(JidePopup.class, this); // try to find the JidePopup
 if(ancestorOfClass instanceof  JidePopup) {
 ((JidePopup) ancestorOfClass).addExcludedComponent(dialog);
 }
 dialog.setVisible(true);
 if(ancestorOfClass instanceof  JidePopup) {
 ((JidePopup) ancestorOfClass).removeExcludedComponent(dialog);
 }
 

Parameters:
  component - the component should be excluded.



addImpl
protected void addImpl(Component comp, Object constraints, int index)(Code)
Ensures that, by default, children cannot be added directly to this component. Instead, children must be added to its content pane. For example:
 thisComponent.getContentPane().add(child)
 
An attempt to add to directly to this component will cause a runtime exception to be thrown. Subclasses can disable this behavior.
Parameters:
  comp - the Component to be added
Parameters:
  constraints - the object containing the constraints, if any
Parameters:
  index - the index
throws:
  Error - if called with isRootPaneChecking true
See Also:   JidePopup.setRootPaneCheckingEnabled



addPopupMenuListener
public void addPopupMenuListener(PopupMenuListener l)(Code)
Adds a PopupMenu listener which will listen to notification messages from the popup portion of the combo box.

For all standard look and feels shipped with Java 2, the popup list portion of combo box is implemented as a JPopupMenu. A custom look and feel may not implement it this way and will therefore not receive the notification.
Parameters:
  l - the PopupMenuListener to add




ancestorHidden
protected void ancestorHidden()(Code)
This method will process component hidden event for the popup's ancestor. By default we will hide the popup immediately. You can override this to customize the behavior.



ancestorMoved
protected void ancestorMoved()(Code)
This method will process component moved event for the popup's ancestor. By default we will move the popup if getDefaultMoveOperation() is MOVE_ON_MOVED, or hide the popup if getDefaultMoveOperation() is HIDE_ON_MOVED. You can override this to customize the behavior.



beginDragging
protected void beginDragging(JComponent f, int mouseX, int mouseY, double relativeX, double relativeY)(Code)



contentResized
protected void contentResized()(Code)



convertPointToScreen
static void convertPointToScreen(Point p, Component c, boolean startInFloat)(Code)



createPopupContainer
protected ResizableWindow createPopupContainer()(Code)



createPopupContainer
protected ResizableWindow createPopupContainer(Component owner)(Code)



createRootPane
protected JRootPane createRootPane()(Code)
Called by the constructor to set up the JRootPane. a new JRootPane
See Also:   javax.swing.JRootPane



createWindow
protected void createWindow(Component owner, int x, int y)(Code)



drag
protected void drag(JComponent f, int newX, int newY, int mouseModifiers)(Code)



endDragging
protected void endDragging()(Code)



firePopupMenuCanceled
public void firePopupMenuCanceled()(Code)
Notifies PopupMenuListeners that the popup portion of the combo box has been canceled.

This method is public but should not be called by anything other than the UI delegate.
See Also:   JidePopup.addPopupMenuListener




firePopupMenuWillBecomeInvisible
public void firePopupMenuWillBecomeInvisible()(Code)
Notifies PopupMenuListeners that the popup portion of the combo box has become invisible.

This method is public but should not be called by anything other than the UI delegate.
See Also:   JidePopup.addPopupMenuListener




firePopupMenuWillBecomeVisible
public void firePopupMenuWillBecomeVisible()(Code)
Notifies PopupMenuListeners that the popup portion of the combo box will become visible.

This method is public but should not be called by anything other than the UI delegate.
See Also:   JidePopup.addPopupMenuListener




getAccessibleContext
public AccessibleContext getAccessibleContext()(Code)
Gets the AccessibleContext associated with this Popup. For popups, the AccessibleContext takes the form of an AccessiblePopup object. A new AccessiblePopup instance is created if necessary. an AccessiblePopup that serves as theAccessibleContext of thisPopup
See Also:   com.jidesoft.popup.JidePopup.AccessiblePopup



getContentPane
public Container getContentPane()(Code)
Returns the content pane for this Popup. the content pane



getDefaultFocusComponent
public Component getDefaultFocusComponent()(Code)
Gets the default focus component. the default focus component.



getDefaultMoveOperation
public int getDefaultMoveOperation()(Code)
Gets the default operation when the owner is moved. The valid values are either JidePopup.HIDE_ON_MOVED , JidePopup.MOVE_ON_MOVED or JidePopup.DO_NOTHING_ON_MOVED . the default operation when the owner is moved.



getDisplayScreenBounds
protected Rectangle getDisplayScreenBounds(Component owner)(Code)



getDisplayStartLocation
protected Point getDisplayStartLocation(Rectangle screenDim, Dimension size, int location)(Code)



getFrame
protected static Frame getFrame(Component c)(Code)



getGlassPane
public Component getGlassPane()(Code)
Returns the glass pane for this popup. the glass pane
See Also:   javax.swing.RootPaneContainer.setGlassPane



getGripperLocation
public int getGripperLocation()(Code)



getJMenuBar
public JMenuBar getJMenuBar()(Code)
Returns the current JMenuBar for this Popup, or null if no menu bar has been set. the JMenuBar used by this Popup.
See Also:   JidePopup.setJMenuBar



getLayeredPane
public JLayeredPane getLayeredPane()(Code)
Returns the layered pane for this popup. a JLayeredPane object
See Also:   javax.swing.RootPaneContainer.setLayeredPane
See Also:   javax.swing.RootPaneContainer.getLayeredPane



getOwner
public Component getOwner()(Code)



getPopupBorder
public Border getPopupBorder()(Code)
Gets the popup border set by JidePopup.setPopupBorder(javax.swing.border.Border) . the border for this popup.



getPopupBounds
public Rectangle getPopupBounds()(Code)



getPopupLocation
protected Point getPopupLocation(Point point, Dimension size, Component owner)(Code)
Calculates the popup location.
Parameters:
  point - owner is top-left coordinate relative to screen.
Parameters:
  size - the size of the popup window.
Parameters:
  owner - the owner new popup location. By default, it will return the coordinate of the bottom-left corner of owner.



getPopupMenuListeners
public PopupMenuListener[] getPopupMenuListeners()(Code)
Returns an array of all the PopupMenuListeners added to this JComboBox with addPopupMenuListener(). all of the PopupMenuListeners added or an emptyarray if no listeners have been added



getRootPane
public JRootPane getRootPane()(Code)
Returns the rootPane object for this popup. the rootPane property
See Also:   javax.swing.RootPaneContainer.getRootPane



getTimeout
public int getTimeout()(Code)
Gets the time out value, in milliseconds. the time out value, in milliseconds.



getTopLevelAncestor
public static Component getTopLevelAncestor(Component component)(Code)



getUI
public PopupUI getUI()(Code)
Returns the look-and-feel object that renders this component. the PopupUI object that rendersthis component



getUIClassID
public String getUIClassID()(Code)
Returns the name of the look-and-feel class that renders this component. the string "PopupUI"
See Also:   javax.swing.JComponent.getUIClassID
See Also:   javax.swing.UIDefaults.getUI



handleComponentEvent
protected void handleComponentEvent(ComponentEvent e)(Code)
This method will process component event. By default, if popup's ancestor is hidden, we will hide the popup as well if the popup is transient (isTransient returns true). If popup's ancestor is moved, we will either move or hide the popup depending on JidePopup.getDefaultMoveOperation() value.
Parameters:
  e - the ComponentEvent.



handleMouseDragged
protected void handleMouseDragged(MouseEvent e)(Code)



handleMouseEntered
protected void handleMouseEntered(MouseEvent e)(Code)



handleMouseExited
protected void handleMouseExited(MouseEvent e)(Code)



handleMousePressed
protected void handleMousePressed(MouseEvent e)(Code)



handleMouseReleased
protected void handleMouseReleased(MouseEvent e)(Code)



handleWindowEvent
protected void handleWindowEvent(WindowEvent e)(Code)



hidePopup
public void hidePopup()(Code)



hidePopup
public void hidePopup(boolean cancelled)(Code)



hidePopupImmediately
public void hidePopupImmediately(boolean cancelled)(Code)



hidePopupImmediately
public void hidePopupImmediately()(Code)
Hides the popup immediately (compare to JidePopup.hidePopup() could use animation to hide the popup).



installBorder
protected void installBorder()(Code)



installListeners
protected void installListeners()(Code)



internalShowPopup
protected void internalShowPopup(int x, int y)(Code)



internalShowPopup
protected void internalShowPopup(int x, int y, Component owner)(Code)



isAncestorOf
static boolean isAncestorOf(Component component, Object ancester)(Code)



isAttachable
public boolean isAttachable()(Code)
Checks if the popup is attachable. By default, attachable option is true. if the popup is attachable.



isDetached
public boolean isDetached()(Code)
Checks if the popup is detached.

A popup has detached and attached mode. When a popup is in attached, it will act like it's part of the owner (which can be set using JidePopup.setOwner(java.awt.Component) . When owner is moved, the popup will be moved. If the owner is hidden, the popup will hidden. In the other word, it is attached with the owner. In detached mode, popup becomes an indenpendent floating window. It will stay at the same location regardless if owner is moved. It could still be visible when owner is hidden.

true if it's detacted. Otherwise false.




isDragging
protected boolean isDragging()(Code)



isExcludedComponent
public boolean isExcludedComponent(Component component)(Code)
Checks if a component is an excluded component. If a component is an excluded component, clicking on it will not hide the popup. By default, owner is always the excluded component.
Parameters:
  component - a component. true if the component is an excluded component.



isMovable
public boolean isMovable()(Code)
Checks if the popup is movable. If yes, it will show the gripper so that user can grab it and move the popup. If the popup is attached to its owner, moving it will detach from the owner. true if gripper is visible



isPopupVisible
public boolean isPopupVisible()(Code)



isResizable
public boolean isResizable()(Code)
Checks if the popup is resizable. By default, resizable option is true.

Depending on the detached/attached mode, the resizing behavior may be different. If a popup is detached to a component, it only allows you to resize from bottom, bottom right and right It obviously doesn't make sense to resize from top and top side is aligned with the attached component.

(Notes: in the future we will allow resize from different corner if the popup is shown above owner due to not enough space on the screen). if the popup is resizable.




isRootPaneCheckingEnabled
protected boolean isRootPaneCheckingEnabled()(Code)
Returns whether calls to add and setLayout cause an exception to be thrown. true if add and setLayoutare checked
See Also:   JidePopup.addImpl
See Also:   JidePopup.setLayout
See Also:   JidePopup.setRootPaneCheckingEnabled



isTransient
public boolean isTransient()(Code)
Checks if the popup is transient. true if transient.
See Also:   JidePopup.setTransient(boolean)



isWithinAroundArea
boolean isWithinAroundArea(Point p, Point newPoint)(Code)



movePopup
protected void movePopup()(Code)



packPopup
public void packPopup()(Code)



remove
public void remove(Component comp)(Code)
Removes the specified component from this container.
Parameters:
  comp - the component to be removed
See Also:   JidePopup.add



removeExcludedComponent
public void removeExcludedComponent(Component component)(Code)
Removes a component from the excluded component list. If a component is an excluded component, clicking on it will not hide the popup.
Parameters:
  component - the component was excluded before.



removePopupMenuListener
public void removePopupMenuListener(PopupMenuListener l)(Code)
Removes a PopupMenuListener.
Parameters:
  l - the PopupMenuListener to remove
See Also:   JidePopup.addPopupMenuListener
since:
   1.4



setAttachable
public void setAttachable(boolean attachable)(Code)
Sets the attachable option.
Parameters:
  attachable - true or false.



setContentPane
public void setContentPane(Container c)(Code)
Sets this Popup's contentPane property.
Parameters:
  c - the content pane for this popup.
throws:
  java.awt.IllegalComponentStateException - (a runtimeexception) if the content pane parameter is null
See Also:   javax.swing.RootPaneContainer.getContentPane



setDefaultFocusComponent
public void setDefaultFocusComponent(Component defaultFocusComponent)(Code)
Sets the default focus component. Default focus component should be a child component on this popup. It will get focus when popup is shown. By setting a non-null component as default focus component, the JWindow that contains the JidePopup will be set focusable. Otherwise the JWindow will be non-focusable.
Parameters:
  defaultFocusComponent - the default focus component.



setDefaultMoveOperation
public void setDefaultMoveOperation(int defaultMoveOperation)(Code)
Sets the default operation when the owner is moved. The valid could be either JidePopup.HIDE_ON_MOVED , JidePopup.MOVE_ON_MOVED or JidePopup.DO_NOTHING_ON_MOVED .
Parameters:
  defaultMoveOperation - the default operation when the owner is moved.



setDetached
public void setDetached(boolean detached)(Code)
Changes the popup's detached mode.
Parameters:
  detached - true or false.



setGlassPane
public void setGlassPane(Component glass)(Code)
Sets this Popup's glassPane property.
Parameters:
  glass - the glass pane for this popup
See Also:   javax.swing.RootPaneContainer.getGlassPane



setGripperLocation
public void setGripperLocation(int gripperLocation)(Code)
Sets the gripper location. The valid values are SwingConstants.NORTH , SwingConstants.SOUTH , SwingConstants.EAST , and SwingConstants.WEST .
Parameters:
  gripperLocation - the new gripper location.



setJMenuBar
public void setJMenuBar(JMenuBar m)(Code)
Sets the menuBar property for this Popup.
Parameters:
  m - the JMenuBar to use in this Popup.
See Also:   JidePopup.getJMenuBar



setLayeredPane
public void setLayeredPane(JLayeredPane layered)(Code)
Sets this Popup's layeredPane property.
Parameters:
  layered - the JLayeredPane for this popup
throws:
  java.awt.IllegalComponentStateException - (a runtimeexception) if the layered pane parameter is null
See Also:   javax.swing.RootPaneContainer.setLayeredPane



setLayout
public void setLayout(LayoutManager manager)(Code)
Ensures that, by default, the layout of this component cannot be set. Instead, the layout of its content pane should be set. For example:
 thisComponent.getContentPane().setLayout(new GridLayout(1,2))
 
An attempt to set the layout of this component will cause an runtime exception to be thrown. Subclasses can disable this behavior.
Parameters:
  manager - the LayoutManager
throws:
  Error - if called with isRootPaneChecking true
See Also:   JidePopup.setRootPaneCheckingEnabled



setMovable
public void setMovable(boolean movable)(Code)
Sets the movable attribute.
Parameters:
  movable - true or false.



setOwner
public void setOwner(Component owner)(Code)



setPopupBorder
public void setPopupBorder(Border popupBorder)(Code)
Sets the border for this popup. Please note a non-empty border is needed if you want the popup to be resizable.
Parameters:
  popupBorder - the border for the popup.



setResizable
public void setResizable(boolean resizable)(Code)
Sets the resizable option.
Parameters:
  resizable - true or false.



setRootPane
protected void setRootPane(JRootPane root)(Code)
Sets the rootPane property for this Popup. This method is called by the constructor.
Parameters:
  root - the new JRootPane object



setRootPaneCheckingEnabled
protected void setRootPaneCheckingEnabled(boolean enabled)(Code)
Determines whether calls to add and setLayout cause an exception to be thrown.
Parameters:
  enabled - a boolean value, true if checking is to beenabled, which cause the exceptions to be thrown
See Also:   JidePopup.addImpl
See Also:   JidePopup.setLayout
See Also:   JidePopup.isRootPaneCheckingEnabled



setTimeout
public void setTimeout(int timeout)(Code)
Sets the time out value, in milliseconds. If you don't want the popup hide after the time out, set the value to 0. By default it's 0 meaning it will never time out.

Typically, you call setTimeOut before the popup is visible. But if you do call setTimeOut when popup is already visible (which means the timer is running), we will restart the timer using the new time out value you just set, even the new time out value is the same as the old one. In the other word, this setTimeOut call will always restart the timer if the timer is running.
Parameters:
  timeout - new time out value, in milliseconds. 0 if you don't want popup automatically hides.




setTransient
public void setTransient(boolean isTransient)(Code)
Sets the transient attribute. If a popup is transient, it will hide automatically when mouse is clicked outside the popup. Otherwise, it will stay visible until timeout or hidePopup() is called.
Parameters:
  isTransient - true or false.



setUI
public void setUI(PopupUI ui)(Code)
Sets the UI delegate for this Popup.
Parameters:
  ui - the UI delegate



setVisible
public void setVisible(boolean visible)(Code)
Makes the component visible or invisible. Overrides Component.setVisible.
Parameters:
  visible - true to make the component visible; false tomake it invisible



setupResizeCorner
public void setupResizeCorner(int corner)(Code)
Setup Resizable's ResizeCorner.
Parameters:
  corner - the corner.



showPopup
public void showPopup()(Code)
Shows the popup. By default, it will show right below the owner.



showPopup
public void showPopup(Component owner)(Code)
Shows the popup. By default, it will show right below the owner after considering the insets.
Parameters:
  owner - the popup window's owner; if unspecified, it will default to theRootPaneContainer(Applet) or ContentContainer



showPopup
public void showPopup(Insets insets)(Code)
Shows the popup. By default, it will show right below the owner after considering the insets.
Parameters:
  insets - the popup's insetsRootPaneContainer(Applet) or ContentContainer



showPopup
public void showPopup(Insets insets, Component owner)(Code)
Shows the popup. By default, it will show right below the owner after considering the insets. Please note, if the owner is not displayed (isShowing returns false), the popup will not be displayed either.
Parameters:
  insets - the popup's insets
Parameters:
  owner - the popup window's owner; if unspecified, it will default to theRootPaneContainer(Applet) or ContentContainer



showPopup
public void showPopup(int location)(Code)
Shows the popup at the specified location relative to the screen. The valid locations are: The actual location will be based on the main screen bounds. Say if the location is SwingConstants.SOUTH_EAST, the popup will appear at the south west corner of main screen with 10 pixels to the border. The 10 pixel is the default value. You can change it by setting JidePopup.DISTANCE_TO_SCREEN_BORDER .
Parameters:
  location - the new location.



showPopup
public void showPopup(int location, Component owner)(Code)
Shows the popup at the specified location relative to the owner. The valid locations are: The actual location will be based on the owner's bounds. Say if the location is SwingConstants.SOUTH_EAST, the popup will appear at the south west corner of owner with 10 pixels to the border. The 10 pixel is the default value. You can change it by setting JidePopup.DISTANCE_TO_SCREEN_BORDER .
Parameters:
  location - the new location
Parameters:
  owner - the popup window's owner; if unspecified, it will default to theRootPaneContainer(Applet) or ContentContainer



showPopup
public void showPopup(int x, int y)(Code)
Shows the popup at the specified x and y coordinates.
Parameters:
  x - the x position.
Parameters:
  y - the y position.



showPopup
public void showPopup(int x, int y, Component owner)(Code)
Shows the popup at the specified x and y coordinates.
Parameters:
  x - the x position.
Parameters:
  y - the y position.
Parameters:
  owner - the popup window's owner; if unspecified, it will default to theRootPaneContainer(Applet) or ContentContainer



showPopupImmediately
protected void showPopupImmediately()(Code)



updateUI
public void updateUI()(Code)
Notification from the UIManager that the look and feel has changed. Replaces the current UI object with the latest version from the UIManager.
See Also:   javax.swing.JComponent.updateUI



Fields inherited from javax.swing.JComponent
final public static String TOOL_TIP_TEXT_KEY(Code)(Java Doc)
final public static int UNDEFINED_CONDITION(Code)(Java Doc)
final public static int WHEN_ANCESTOR_OF_FOCUSED_COMPONENT(Code)(Java Doc)
final public static int WHEN_FOCUSED(Code)(Java Doc)
final public static int WHEN_IN_FOCUSED_WINDOW(Code)(Java Doc)
protected AccessibleContext accessibleContext(Code)(Java Doc)
protected EventListenerList listenerList(Code)(Java Doc)
protected transient ComponentUI ui(Code)(Java Doc)

Methods inherited from javax.swing.JComponent
public void addAncestorListener(AncestorListener listener)(Code)(Java Doc)
public void addNotify()(Code)(Java Doc)
public synchronized void addVetoableChangeListener(VetoableChangeListener listener)(Code)(Java Doc)
public void computeVisibleRect(Rectangle visibleRect)(Code)(Java Doc)
public boolean contains(int x, int y)(Code)(Java Doc)
public JToolTip createToolTip()(Code)(Java Doc)
public void disable()(Code)(Java Doc)
public void enable()(Code)(Java Doc)
public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, char oldValue, char newValue)(Code)(Java Doc)
protected void fireVetoableChange(String propertyName, Object oldValue, Object newValue) throws java.beans.PropertyVetoException(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public ActionListener getActionForKeyStroke(KeyStroke aKeyStroke)(Code)(Java Doc)
final public ActionMap getActionMap()(Code)(Java Doc)
public float getAlignmentX()(Code)(Java Doc)
public float getAlignmentY()(Code)(Java Doc)
public AncestorListener[] getAncestorListeners()(Code)(Java Doc)
public boolean getAutoscrolls()(Code)(Java Doc)
public int getBaseline(int width, int height)(Code)(Java Doc)
public BaselineResizeBehavior getBaselineResizeBehavior()(Code)(Java Doc)
public Border getBorder()(Code)(Java Doc)
public Rectangle getBounds(Rectangle rv)(Code)(Java Doc)
final public Object getClientProperty(Object key)(Code)(Java Doc)
protected Graphics getComponentGraphics(Graphics g)(Code)(Java Doc)
public JPopupMenu getComponentPopupMenu()(Code)(Java Doc)
public int getConditionForKeyStroke(KeyStroke aKeyStroke)(Code)(Java Doc)
public int getDebugGraphicsOptions()(Code)(Java Doc)
public static Locale getDefaultLocale()(Code)(Java Doc)
public FontMetrics getFontMetrics(Font font)(Code)(Java Doc)
public Graphics getGraphics()(Code)(Java Doc)
public int getHeight()(Code)(Java Doc)
public boolean getInheritsPopupMenu()(Code)(Java Doc)
final public InputMap getInputMap(int condition)(Code)(Java Doc)
final public InputMap getInputMap()(Code)(Java Doc)
public InputVerifier getInputVerifier()(Code)(Java Doc)
public Insets getInsets()(Code)(Java Doc)
public Insets getInsets(Insets insets)(Code)(Java Doc)
public T[] getListeners(Class<T> listenerType)(Code)(Java Doc)
public Point getLocation(Point rv)(Code)(Java Doc)
public Dimension getMaximumSize()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
public Component getNextFocusableComponent()(Code)(Java Doc)
public Point getPopupLocation(MouseEvent event)(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
public KeyStroke[] getRegisteredKeyStrokes()(Code)(Java Doc)
public JRootPane getRootPane()(Code)(Java Doc)
public Dimension getSize(Dimension rv)(Code)(Java Doc)
public Point getToolTipLocation(MouseEvent event)(Code)(Java Doc)
public String getToolTipText()(Code)(Java Doc)
public String getToolTipText(MouseEvent event)(Code)(Java Doc)
public Container getTopLevelAncestor()(Code)(Java Doc)
public TransferHandler getTransferHandler()(Code)(Java Doc)
public String getUIClassID()(Code)(Java Doc)
public boolean getVerifyInputWhenFocusTarget()(Code)(Java Doc)
public synchronized VetoableChangeListener[] getVetoableChangeListeners()(Code)(Java Doc)
public Rectangle getVisibleRect()(Code)(Java Doc)
public int getWidth()(Code)(Java Doc)
public int getX()(Code)(Java Doc)
public int getY()(Code)(Java Doc)
public void grabFocus()(Code)(Java Doc)
public boolean isDoubleBuffered()(Code)(Java Doc)
public static boolean isLightweightComponent(Component c)(Code)(Java Doc)
public boolean isManagingFocus()(Code)(Java Doc)
public boolean isOpaque()(Code)(Java Doc)
public boolean isOptimizedDrawingEnabled()(Code)(Java Doc)
final public boolean isPaintingForPrint()(Code)(Java Doc)
public boolean isPaintingTile()(Code)(Java Doc)
public boolean isRequestFocusEnabled()(Code)(Java Doc)
public boolean isValidateRoot()(Code)(Java Doc)
public void paint(Graphics g)(Code)(Java Doc)
protected void paintBorder(Graphics g)(Code)(Java Doc)
protected void paintChildren(Graphics g)(Code)(Java Doc)
protected void paintComponent(Graphics g)(Code)(Java Doc)
public void paintImmediately(int x, int y, int w, int h)(Code)(Java Doc)
public void paintImmediately(Rectangle r)(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public void print(Graphics g)(Code)(Java Doc)
public void printAll(Graphics g)(Code)(Java Doc)
protected void printBorder(Graphics g)(Code)(Java Doc)
protected void printChildren(Graphics g)(Code)(Java Doc)
protected void printComponent(Graphics g)(Code)(Java Doc)
protected void processComponentKeyEvent(KeyEvent e)(Code)(Java Doc)
protected boolean processKeyBinding(KeyStroke ks, KeyEvent e, int condition, boolean pressed)(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)
final public void putClientProperty(Object key, Object value)(Code)(Java Doc)
public void registerKeyboardAction(ActionListener anAction, String aCommand, KeyStroke aKeyStroke, int aCondition)(Code)(Java Doc)
public void registerKeyboardAction(ActionListener anAction, KeyStroke aKeyStroke, int aCondition)(Code)(Java Doc)
public void removeAncestorListener(AncestorListener listener)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
public synchronized void removeVetoableChangeListener(VetoableChangeListener listener)(Code)(Java Doc)
public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc)
public void repaint(Rectangle r)(Code)(Java Doc)
public boolean requestDefaultFocus()(Code)(Java Doc)
public void requestFocus()(Code)(Java Doc)
public boolean requestFocus(boolean temporary)(Code)(Java Doc)
public boolean requestFocusInWindow()(Code)(Java Doc)
protected boolean requestFocusInWindow(boolean temporary)(Code)(Java Doc)
public void resetKeyboardActions()(Code)(Java Doc)
public void reshape(int x, int y, int w, int h)(Code)(Java Doc)
public void revalidate()(Code)(Java Doc)
public void scrollRectToVisible(Rectangle aRect)(Code)(Java Doc)
final public void setActionMap(ActionMap am)(Code)(Java Doc)
public void setAlignmentX(float alignmentX)(Code)(Java Doc)
public void setAlignmentY(float alignmentY)(Code)(Java Doc)
public void setAutoscrolls(boolean autoscrolls)(Code)(Java Doc)
public void setBackground(Color bg)(Code)(Java Doc)
public void setBorder(Border border)(Code)(Java Doc)
public void setComponentPopupMenu(JPopupMenu popup)(Code)(Java Doc)
public void setDebugGraphicsOptions(int debugOptions)(Code)(Java Doc)
public static void setDefaultLocale(Locale l)(Code)(Java Doc)
public void setDoubleBuffered(boolean aFlag)(Code)(Java Doc)
public void setEnabled(boolean enabled)(Code)(Java Doc)
public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc)
public void setFont(Font font)(Code)(Java Doc)
public void setForeground(Color fg)(Code)(Java Doc)
public void setInheritsPopupMenu(boolean value)(Code)(Java Doc)
final public void setInputMap(int condition, InputMap map)(Code)(Java Doc)
public void setInputVerifier(InputVerifier inputVerifier)(Code)(Java Doc)
public void setMaximumSize(Dimension maximumSize)(Code)(Java Doc)
public void setMinimumSize(Dimension minimumSize)(Code)(Java Doc)
public void setNextFocusableComponent(Component aComponent)(Code)(Java Doc)
public void setOpaque(boolean isOpaque)(Code)(Java Doc)
public void setPreferredSize(Dimension preferredSize)(Code)(Java Doc)
public void setRequestFocusEnabled(boolean requestFocusEnabled)(Code)(Java Doc)
public void setToolTipText(String text)(Code)(Java Doc)
public void setTransferHandler(TransferHandler newHandler)(Code)(Java Doc)
protected void setUI(ComponentUI newUI)(Code)(Java Doc)
public void setVerifyInputWhenFocusTarget(boolean verifyInputWhenFocusTarget)(Code)(Java Doc)
public void setVisible(boolean aFlag)(Code)(Java Doc)
public void unregisterKeyboardAction(KeyStroke aKeyStroke)(Code)(Java Doc)
public void update(Graphics g)(Code)(Java Doc)
public void updateUI()(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.