|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JPopupMenu javax.swing.plaf.basic.BasicComboPopup com.jidesoft.plaf.basic.ExComboBoxPopup
public class ExComboBoxPopup
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicComboPopup |
---|
BasicComboPopup.InvocationKeyHandler, BasicComboPopup.InvocationMouseHandler, BasicComboPopup.InvocationMouseMotionHandler, BasicComboPopup.ItemHandler, BasicComboPopup.ListDataHandler, BasicComboPopup.ListMouseHandler, BasicComboPopup.ListMouseMotionHandler, BasicComboPopup.ListSelectionHandler, BasicComboPopup.PropertyChangeHandler |
Nested classes/interfaces inherited from class javax.swing.JPopupMenu |
---|
JPopupMenu.AccessibleJPopupMenu, JPopupMenu.Separator |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected ExComboBox |
_comboBox
|
protected StandardDialog |
_dialog
The dialog that will be shown. |
protected JidePopup |
_popup
The popup window that will be shown when button is pressed. |
protected PopupPanel |
_popupPanel
|
LineBorder |
LINE_BORDER
|
Fields inherited from class javax.swing.plaf.basic.BasicComboPopup |
---|
autoscrollTimer, comboBox, hasEntered, isAutoScrolling, itemListener, keyListener, list, listDataListener, listMouseListener, listMouseMotionListener, listSelectionListener, mouseListener, mouseMotionListener, propertyChangeListener, SCROLL_DOWN, SCROLL_UP, scrollDirection, scroller, valueIsAdjusting |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
ExComboBoxPopup(JComboBox combo)
|
Method Summary | |
---|---|
protected Point |
calculatePopupLocation()
calculate the popup location. |
protected JidePopup |
createPopupWindow()
Creates the popup window. |
protected void |
customizeDialog(JDialog dialog)
Customizes the dialog. |
protected void |
customizeDialogLocation(JDialog dialog)
Customizes the dialog location. |
protected void |
customizePopup(JidePopup popup)
Customizes the JidePopup that is used to show the drop down. |
protected void |
customizePopupPanel(PopupPanel popupPanel)
|
protected Action |
getDialogCancelAction()
Gets the cancel button action for the dialog type ComboBox. |
protected Action |
getDialogOKAction()
Gets the OK button action for the dialog type ComboBox. |
PopupPanel |
getPopupPanel()
|
Dimension |
getPreferredSize()
|
protected int |
getPreferredWidth()
|
void |
hide()
Causes the combo box to close its popup window. |
boolean |
isPopupVisible()
Determines the visibility of the popup. |
boolean |
isVisible()
|
void |
popupMenuCanceled(PopupMenuEvent e)
|
void |
popupMenuWillBecomeInvisible(PopupMenuEvent e)
|
void |
popupMenuWillBecomeVisible(PopupMenuEvent e)
|
void |
propertyChange(PropertyChangeEvent evt)
|
void |
resetPopup()
Resets the popup. |
void |
setPopupVisible(boolean v)
Sets the visibility of the popup. |
void |
show()
Implementation of ComboPopup.show(). |
void |
showPopup()
Causes the combo box to display its popup window. |
protected void |
showPopupPanel()
Shows the popup panel. |
protected void |
showPopupPanelAsPopup(boolean show)
|
protected void |
togglePopup()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected StandardDialog _dialog
protected JidePopup _popup
protected PopupPanel _popupPanel
protected ExComboBox _comboBox
public LineBorder LINE_BORDER
Constructor Detail |
---|
public ExComboBoxPopup(JComboBox combo)
Method Detail |
---|
public void show()
show
in interface ComboPopup
show
in class BasicComboPopup
protected void showPopupPanel()
protected void showPopupPanelAsPopup(boolean show)
show
- the flag that if we should really show the popup panelprotected void customizePopupPanel(PopupPanel popupPanel)
protected int getPreferredWidth()
protected void customizePopup(JidePopup popup)
popup
- the JidePopup.public void resetPopup()
protected JidePopup createPopupWindow()
protected Point calculatePopupLocation()
protected Action getDialogOKAction()
protected Action getDialogCancelAction()
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
protected void customizeDialogLocation(JDialog dialog)
dialog
- the dialogprotected void customizeDialog(JDialog dialog)
dialog
- the dialogpublic PopupPanel getPopupPanel()
public void showPopup()
setPopupVisible(boolean)
public void hide()
hide
in interface ComboPopup
hide
in class BasicComboPopup
setPopupVisible(boolean)
protected void togglePopup()
togglePopup
in class BasicComboPopup
public void setPopupVisible(boolean v)
v
- visibilitypublic boolean isPopupVisible()
public boolean isVisible()
isVisible
in interface ComboPopup
isVisible
in class JPopupMenu
public void popupMenuWillBecomeVisible(PopupMenuEvent e)
popupMenuWillBecomeVisible
in interface PopupMenuListener
public void popupMenuWillBecomeInvisible(PopupMenuEvent e)
popupMenuWillBecomeInvisible
in interface PopupMenuListener
public void popupMenuCanceled(PopupMenuEvent e)
popupMenuCanceled
in interface PopupMenuListener
public Dimension getPreferredSize()
getPreferredSize
in class JComponent
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |