Class DwtAddRemove

Object
   |
   +--DwtControl
         |
         +--DwtComposite
               |
               +--DwtAddRemove

class DwtAddRemove
extends DwtComposite

Defined in DwtAddRemove.js


Field Summary
 Object _orientation
          
 Object _selection
          
   
Fields inherited from class DwtControl
parent, _data, _eventMgr, _disposed, _className, _posStyle, _hoverOverListener, _hoverOutListener
 
Constructor Summary
DwtAddRemove (parent, className, posStyle, sourceListClassName, targetListClassName)
            Constructs a control that shows two lists of items and allows the user to move items between the two lists.
 
Method Summary
 void _addAllButtonListener(event)
          
 void _addButtonListener(event)
          
 void _createHTML(sourceListClassName, targetListClassName)
          
 void _removeAllButtonListener(event)
          
 void _removeButtonListener(event)
          
 void _sourceListListener(event)
          
 void _targetListListener(event)
          
 void addSourceItem(item)
          
 void addSourceItems(items)
          
 void addStateChangeListener(listener)
          
 void addTargetItem(item, skipNotify)
          
 void addTargetItems(items, skipNotify)
          
 Object getSourceItems()
           DwtAddRemove.prototype.setOrientation = function(orientation) { this._orientation = orientation; } DwtAddRemove.prototype.getOrientation = function() { return this._orientation; } DwtAddRemove.prototype.isHorizontal = function() { return this._orientation === DwtAddRemove.ORIENTATION_HORIZONTAL; } DwtAddRemove.prototype.isVertical = function() { return this._orientation === DwtAddRemove.ORIENTATION_VERTICAL; }
 Object getTargetItems()
          
 void removeAllSourceItems()
          
 void removeAllTargetItems(skipNotify)
          
 void removeSourceItem(item)
          
 void removeSourceItems(items)
          
 void removeStateChangeListener(listener)
          
 void removeTargetItem(item, skipNotify)
          
 void setEnabled(enabled)
          
 void setSourceItems(items)
          
 void setTargetItems(items)
          
 Object toString()
          
 
Methods inherited from class DwtComposite
dispose, getChildren, getNumChildren, removeChildren, clear, addChild, removeChild, _update
   
Methods inherited from class DwtControl
addControlListener, removeControlListener, addDisposeListener, removeDisposeListener, addListener, notifyListeners, isListenerRegistered, removeListener, removeAllListeners, getDocument, getData, setData, isDisposed, isInitialized, getPropagationForEvent, getReturnValueForEvent, reparent, reparentHtmlElement, setHandler, clearHandler, getBounds, setBounds, getClassName, setClassName, getCursor, setCursor, getDragSource, setDragSource, getDropTarget, setDropTarget, getEnabled, getHtmlElement, setHtmlElementId, getX, getXW, getY, getYH, getLocation, setLocation, getScrollStyle, setScrollStyle, getW, getH, getSize, setSize, getToolTipContent, setToolTipContent, getVisible, setVisible, setVisibility, getZIndex, setZIndex, zShow, setDisplay, preventSelection, preventContextMenu, _checkState, _isInputEl, _setEventHdlrs, _setMouseEventHdlrs, _setKeyPressEventHdlr, _dndDoHover, _getDnDIcon, _setDnDIconState, _destroyDnDIcon, _isValidDragObject, _dragEnter, _dragOver, _dragHover, _dragLeave, _drop, _initCtrl, setContent, clearContent, _badDropEffect, _handleHoverOver, _handleHoverOut
 

Field Detail

_orientation

Object _orientation

_selection

Object _selection

Constructor Detail

DwtAddRemove

DwtAddRemove(parent, className, posStyle, sourceListClassName, targetListClassName)

Method Detail

_addAllButtonListener

void _addAllButtonListener(event)

_addButtonListener

void _addButtonListener(event)

_createHTML

void _createHTML(sourceListClassName, targetListClassName)

_removeAllButtonListener

void _removeAllButtonListener(event)

_removeButtonListener

void _removeButtonListener(event)

_sourceListListener

void _sourceListListener(event)

_targetListListener

void _targetListListener(event)

addSourceItem

void addSourceItem(item)

addSourceItems

void addSourceItems(items)

addStateChangeListener

void addStateChangeListener(listener)

addTargetItem

void addTargetItem(item, skipNotify)

addTargetItems

void addTargetItems(items, skipNotify)

getSourceItems

Object getSourceItems()

getTargetItems

Object getTargetItems()

removeAllSourceItems

void removeAllSourceItems()

removeAllTargetItems

void removeAllTargetItems(skipNotify)

removeSourceItem

void removeSourceItem(item)

removeSourceItems

void removeSourceItems(items)

removeStateChangeListener

void removeStateChangeListener(listener)

removeTargetItem

void removeTargetItem(item, skipNotify)

setEnabled

void setEnabled(enabled)

setSourceItems

void setSourceItems(items)

setTargetItems

void setTargetItems(items)

toString

Object toString()


Documentation generated by JSDoc on Thu Apr 27 13:54:36 2006