src/share/classes/javax/swing/plaf/basic/ComboPopup.java

Print this page




  53      */
  54     public void show();
  55 
  56     /**
  57      * Hides the popup
  58      */
  59     public void hide();
  60 
  61     /**
  62      * Returns true if the popup is visible (currently being displayed).
  63      *
  64      * @return <code>true</code> if the component is visible; <code>false</code> otherwise.
  65      */
  66     public boolean isVisible();
  67 
  68     /**
  69      * Returns the list that is being used to draw the items in the combo box.
  70      * This method is highly implementation specific and should not be used
  71      * for general list manipulation.
  72      */
  73     public JList getList();
  74 
  75     /**
  76      * Returns a mouse listener that will be added to the combo box or null.
  77      * If this method returns null then it will not be added to the combo box.
  78      *
  79      * @return a <code>MouseListener</code> or null
  80      */
  81     public MouseListener getMouseListener();
  82 
  83     /**
  84      * Returns a mouse motion listener that will be added to the combo box or null.
  85      * If this method returns null then it will not be added to the combo box.
  86      *
  87      * @return a <code>MouseMotionListener</code> or null
  88      */
  89     public MouseMotionListener getMouseMotionListener();
  90 
  91     /**
  92      * Returns a key listener that will be added to the combo box or null.
  93      * If this method returns null then it will not be added to the combo box.


  53      */
  54     public void show();
  55 
  56     /**
  57      * Hides the popup
  58      */
  59     public void hide();
  60 
  61     /**
  62      * Returns true if the popup is visible (currently being displayed).
  63      *
  64      * @return <code>true</code> if the component is visible; <code>false</code> otherwise.
  65      */
  66     public boolean isVisible();
  67 
  68     /**
  69      * Returns the list that is being used to draw the items in the combo box.
  70      * This method is highly implementation specific and should not be used
  71      * for general list manipulation.
  72      */
  73     public JList<Object> getList();
  74 
  75     /**
  76      * Returns a mouse listener that will be added to the combo box or null.
  77      * If this method returns null then it will not be added to the combo box.
  78      *
  79      * @return a <code>MouseListener</code> or null
  80      */
  81     public MouseListener getMouseListener();
  82 
  83     /**
  84      * Returns a mouse motion listener that will be added to the combo box or null.
  85      * If this method returns null then it will not be added to the combo box.
  86      *
  87      * @return a <code>MouseMotionListener</code> or null
  88      */
  89     public MouseMotionListener getMouseMotionListener();
  90 
  91     /**
  92      * Returns a key listener that will be added to the combo box or null.
  93      * If this method returns null then it will not be added to the combo box.