swingwtx.custom.validation
Class ValidatableJComboBox

java.lang.Object
  extended byswingwt.awt.Component
      extended byswingwt.awt.Container
          extended byswingwtx.swing.JComponent
              extended byswingwtx.swing.JPanel
                  extended byswingwtx.custom.validation.ValidatableComponent
                      extended byswingwtx.custom.validation.ValidatableJComboBox
All Implemented Interfaces:
ImageObserver, MenuContainer

public class ValidatableJComboBox
extends ValidatableComponent


Nested Class Summary
 
Nested classes inherited from class swingwtx.swing.JComponent
JComponent.InternalFrameSelectionListener
 
Field Summary
protected  JComboBox ccomp
           
 
Fields inherited from class swingwtx.custom.validation.ValidatableComponent
comp, errorMessage, errorOutput, isValid, validationGroup, validationListeners
 
Fields inherited from class swingwtx.swing.JPanel
opaque, ppeer
 
Fields inherited from class swingwtx.swing.JComponent
accessibleContext, actionMap, ancestorInputMap, border, clientProperties, descendantHasPeer, focusInputMap, internalFrameAdapter, internalFrameParent, propertyChangeListeners, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW, windowInputMap
 
Fields inherited from class swingwt.awt.Container
composite, comps, containerListeners, layout, queuedValidateRequest
 
Fields inherited from class swingwt.awt.Component
actionCommand, actionListeners, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, componentListeners, componentName, consumeAvailableHeight, consumeAvailableWidth, focusable, focusListeners, graphicsConfig, inputMethodListeners, isUserSetFont, keyListeners, layoutModifier, LEFT_ALIGNMENT, LOCK, mouseListeners, mouseMotionListeners, mouseWheelListeners, parent, pBackground, pCursor, pDoubleBuffered, peer, pEnabled, pFont, pForeground, pLayoutData, pLocation, pMaxSize, pMinSize, pPrefSize, pSize, pToolTipText, pVisible, RIGHT_ALIGNMENT, swingWTDefaultActionEventAdapter, swingWTEventAdapter, TOP_ALIGNMENT
 
Fields inherited from interface swingwt.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
ValidatableJComboBox()
           
ValidatableJComboBox(ComboBoxModel model)
           
ValidatableJComboBox(java.lang.Object[] items)
           
ValidatableJComboBox(java.util.Vector items)
           
 
Method Summary
 void addItem(java.lang.Object item)
           
 void addPopupMenuListener(PopupMenuListener l)
           
 boolean getEditable()
           
 java.lang.Object getItemAt(int index)
           
 int getItemCount()
           
 int getMaximumRowCount()
           
 ComboBoxModel getModel()
           
 int getSelectedIndex()
           
 java.lang.Object getSelectedItem()
           
 void insertItemAt(java.lang.Object item, int index)
           
 void removeAllItems()
           
 void removeItem(java.lang.Object item)
           
 void removeItemAt(int index)
           
 void removePopupMenuListener(PopupMenuListener l)
           
 void setEditable(boolean b)
           
 void setMaximumRowCount(int max)
           
 void setModel(ComboBoxModel model)
           
 void setSelectedIndex(int index)
           
 void setSelectedItem(java.lang.Object text)
           
 
Methods inherited from class swingwtx.custom.validation.ValidatableComponent
addActionListener, addFocusListener, addKeyListener, addMouseListener, addValidationListener, dispose, fireValidation, getBackground, getComponent, getErrorMessage, getFont, getForeground, getToolTipText, getValidationGroup, grabFocus, isEnabled, isValid, isVisible, removeActionListener, removeFocusListener, removeKeyListener, removeMouseListener, removeValidationListener, requestFocus, setBackground, setEnabled, setErrorMessage, setFont, setForeground, setIsValid, setToolTipText, setupComponent, setValidationGroup, setVisible
 
Methods inherited from class swingwtx.swing.JPanel
calculatePreferredSize, getHeight, getSize, getWidth, setBorder, setSwingWTParent
 
Methods inherited from class swingwtx.swing.JComponent
add, add, add, add, add, addPropertyChangeListener, addPropertyChangeListener, checkInternalFrameChild, getAccessibleContext, getActionMap, getAutoscrolls, getBorder, getClientProperty, getInputMap, getInsets, getToolTipLocation, getToolTipText, getTopLevelAncestor, getVisibleRect, isDoubleBuffered, isOpaque, isOptimizedDrawingEnabled, isValidateRoot, paint, paintBackground, paintChildren, paintComponent, paintImmediately, paintImmediately, putClientProperty, remove, remove, removePropertyChangeListener, removePropertyChangeListener, repaint, revalidate, scrollRectToVisible, setActionMap, setAutoscrolls, setDoubleBuffered, setInputMap, setMargin, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled
 
Methods inherited from class swingwt.awt.Container
addComponentToLayout, addContainerListener, debug_showContainmentTree, doAdd, doLayout, getComponent, getComponentCount, getComponentOrientation, getComponents, getComposite, getLayout, getMaximumSize, getMinimumSize, getParent, getPreferredSize, invalidate, minimumSize, preferredSize, processContainerEvent, processEvent, queuedValidate, removeAll, removeComponentFromCache, removeContainerListener, setLayout, setLayoutImpl, validate
 
Methods inherited from class swingwt.awt.Component
add, addComponentListener, addInputMethodListener, addMouseMotionListener, addMouseWheelListener, addNotify, componentOnlyDispose, computePreferredSize, contains, contains, createImage, createListenerArrayFromVector, createVolatileImage, dispatchEvent, getActionCommand, getAlignmentX, getAlignmentY, getBounds, getCursor, getFontMetrics, getGraphics, getGraphicsConfiguration, getListeners, getLocation, getLocationOnScreen, getName, getPeer, getPeerSize, getSize, getSWTPeer, getToolkit, getTreeLock, getX, getY, hasFocus, hasSetFont, hide, imageUpdate, inside, isFocusable, isMinimumSizeSet, isShowing, processActionEvent, processComponentEvent, processFocusEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, processTraverseEvent, registerActionEvents, registerComponentEvents, registerEvents, registerExtendedModifyEvents, registerFocusEvents, registerKeyEvents, registerModifyEvents, registerMouseEvents, registerPaintEvents, registerTraversalEvents, remove, removeComponentListener, removeInputMethodListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, repaint, repaint, repaint, setActionCommand, setAlignmentX, setAlignmentY, setBounds, setBounds, setCachedProperties, setComponentOrientation, setComponentRemoved, setCursor, setFocusable, setFocusTraversalKeysEnabled, setHeight, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setSize, setSize, setWidth, show, transferFocus, transferFocusBackward, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ccomp

protected JComboBox ccomp
Constructor Detail

ValidatableJComboBox

public ValidatableJComboBox()

ValidatableJComboBox

public ValidatableJComboBox(java.lang.Object[] items)

ValidatableJComboBox

public ValidatableJComboBox(java.util.Vector items)

ValidatableJComboBox

public ValidatableJComboBox(ComboBoxModel model)
Method Detail

addPopupMenuListener

public void addPopupMenuListener(PopupMenuListener l)

removePopupMenuListener

public void removePopupMenuListener(PopupMenuListener l)

getSelectedItem

public java.lang.Object getSelectedItem()

setSelectedItem

public void setSelectedItem(java.lang.Object text)

getModel

public ComboBoxModel getModel()

setModel

public void setModel(ComboBoxModel model)

addItem

public void addItem(java.lang.Object item)

insertItemAt

public void insertItemAt(java.lang.Object item,
                         int index)

getSelectedIndex

public int getSelectedIndex()

getItemAt

public java.lang.Object getItemAt(int index)

getItemCount

public int getItemCount()

setSelectedIndex

public void setSelectedIndex(int index)

removeAllItems

public void removeAllItems()

removeItem

public void removeItem(java.lang.Object item)

removeItemAt

public void removeItemAt(int index)

setEditable

public void setEditable(boolean b)

getEditable

public boolean getEditable()

getMaximumRowCount

public int getMaximumRowCount()

setMaximumRowCount

public void setMaximumRowCount(int max)