com.jmex.bui
Class BComboBox.ComboPopupMenu

java.lang.Object
  extended by com.jmex.bui.BComponent
      extended by com.jmex.bui.BContainer
          extended by com.jmex.bui.BWindow
              extended by com.jmex.bui.BPopupWindow
                  extended by com.jmex.bui.BPopupMenu
                      extended by com.jmex.bui.BComboBox.ComboPopupMenu
All Implemented Interfaces:
Comparable<BWindow>
Enclosing class:
BComboBox

protected class BComboBox.ComboPopupMenu
extends BPopupMenu


Nested Class Summary
 
Nested classes/interfaces inherited from class com.jmex.bui.BContainer
BContainer.ChildOp
 
Field Summary
 
Fields inherited from class com.jmex.bui.BPopupMenu
_columns
 
Fields inherited from class com.jmex.bui.BWindow
_layer, _modal, _parentWindow, _root, _savedFocus, _style
 
Fields inherited from class com.jmex.bui.BContainer
_children, _layout
 
Fields inherited from class com.jmex.bui.BComponent
_alpha, _backgrounds, _bbuf, _borders, _colors, _cursor, _enabled, _height, _hover, _insets, _listeners, _parent, _preferredSize, _properties, _styleClass, _tipmouse, _tipStyle, _tiptext, _valid, _visible, _width, _x, _y, DEFAULT, DISABLED, HOVER, STATE_COUNT, STATE_PCLASSES
 
Constructor Summary
BComboBox.ComboPopupMenu(int columns)
           
 
Method Summary
protected  Dimension computePreferredSize(int whint, int hhint)
          Computes and returns a preferred size for this component.
protected  void itemSelected(BMenuItem item, long when, int modifiers)
          Called by any child BMenuItems when they are selected.
 
Methods inherited from class com.jmex.bui.BPopupMenu
addMenuItem, dispatchEvent, getDefaultStyleClass, packAndFit, setPreferredColumns
 
Methods inherited from class com.jmex.bui.BPopupWindow
popup, shouldShadeBehind
 
Methods inherited from class com.jmex.bui.BWindow
center, compareTo, dismiss, getLayer, getParentWindow, getRootNode, getStyleSheet, gotFocus, invalidate, isAdded, isModal, isOverlay, pack, pack, requestFocus, setBounds, setLayer, setModal, setParent, setParentWindow, setRootNode
 
Methods inherited from class com.jmex.bui.BContainer
add, add, add, add, applyOperation, getComponent, getComponentCount, getComponentIndex, getHitComponent, getLayoutManager, getNextFocus, getPreviousFocus, layout, remove, remove, removeAll, renderComponent, replace, setAlpha, setEnabled, setLayoutManager, setVisible, validate, wasAdded, wasRemoved
 
Methods inherited from class com.jmex.bui.BComponent
acceptsFocus, addListener, applyDefaultStates, boundsToString, changeCursor, configureStyle, createTooltipComponent, emitEvent, getAbsoluteX, getAbsoluteY, getAlpha, getBackground, getBorder, getBounds, getColor, getCursor, getFocusTarget, getHeight, getInsets, getNextFocus, getParent, getPreferredSize, getPreviousFocus, getProperty, getState, getStateCount, getStatePseudoClass, getStyleClass, getTooltipText, getWidth, getWindow, getX, getY, hasFocus, intersectScissorBox, isEnabled, isShowing, isTooltipRelativeToMouse, isValid, isVisible, removeAllListeners, removeListener, render, renderBackground, renderBorder, requestFocus, restoreScissorState, setBackground, setCursor, setLocation, setPreferredSize, setPreferredSize, setProperty, setSize, setStyleClass, setTooltipRelativeToMouse, setTooltipText, stateDidChange, updateCursor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BComboBox.ComboPopupMenu

public BComboBox.ComboPopupMenu(int columns)
Method Detail

itemSelected

protected void itemSelected(BMenuItem item,
                            long when,
                            int modifiers)
Description copied from class: BPopupMenu
Called by any child BMenuItems when they are selected.

Overrides:
itemSelected in class BPopupMenu

computePreferredSize

protected Dimension computePreferredSize(int whint,
                                         int hhint)
Description copied from class: BComponent
Computes and returns a preferred size for this component. This method is called if no overriding preferred size has been supplied.

Overrides:
computePreferredSize in class BContainer
Returns:
the computed preferred size of this component in a newly created Dimension instance which will be adopted (and modified) by the caller.


Copyright © 2008 Michael Bayne. All Rights Reserved.