to.etc.domui.component.input
Class AbstractFloatingLookup<T>

java.lang.Object
  extended by to.etc.domui.dom.css.CssBase
      extended by to.etc.domui.dom.html.NodeBase
          extended by to.etc.domui.dom.html.NodeContainer
              extended by to.etc.domui.dom.html.Div
                  extended by to.etc.domui.component.layout.FloatingWindow
                      extended by to.etc.domui.component.input.AbstractFloatingLookup<T>
All Implemented Interfaces:
java.lang.Iterable<NodeBase>, IModelBinding, INodeErrorDelegate, IDraggable, IDropTargetable
Direct Known Subclasses:
MultipleSelectionLookup, SimpleLookup

public class AbstractFloatingLookup<T>
extends FloatingWindow

Super class for floating window based lookups.

Author:
Vladimir Mijic Created on 16 Jun 2011

Constructor Summary
protected AbstractFloatingLookup(boolean modal, java.lang.String txt, java.lang.Class<T> lookupClass, ClassMetaModel metaModel)
          Create a floating window with the specified title in the title bar.
  AbstractFloatingLookup(java.lang.Class<T> lookupClass)
          Lookup a POJO Java bean persistent class.
  AbstractFloatingLookup(java.lang.Class<T> lookupClass, ClassMetaModel metaModel)
           
 
Method Summary
 java.lang.Class<T> getLookupClass()
           
 ClassMetaModel getMetaModel()
           
 boolean isUseStretchedLayout()
          Returns T if we are using stretching of result table height to all remained parent height.
 void setUseStretchedLayout(boolean useStretchedLayout)
          Set to F to disable stretching of result table height.
 
Methods inherited from class to.etc.domui.component.layout.FloatingWindow
close, closePressed, create, create, create, createContent, createTitleBar, getOnClose, getWindowTitle, isClosable, linkToPageModally, onAddedToPage, onRemoveFromPage, setClosable, setIcon, setOnClose, setWindowTitle
 
Methods inherited from class to.etc.domui.dom.html.Div
afterCreateContent, componentHandleWebAction, fadeIn, fadeOut, getCustomUpdatesCallJS, getDragHandler, getDropBody, getDropHandler, getDropMode, getReturnPressed, setDragHandler, setDropBody, setDropHandler, setReturnPressed, slideDown, slideUp, tb, visit
 
Methods inherited from class to.etc.domui.dom.html.NodeContainer
add, add, add, addTable, canContain, delegateTo, findChildIndex, forceRebuild, getChild, getChildCount, getChildren, getDeepChild, getDeepChildren, getErrorFence, internalCheckNotDirty, internalClearDelta, internalClearDeltaFully, internalGetOldChildren, internalShelve, internalUnshelve, iterator, moveControlToModel, moveModelToControl, onRefresh, removeAllChildren, removeChild, removeChild, replaceChild, setControlsEnabled, setErrorFence, setErrorFence, setText, setValue
 
Methods inherited from class to.etc.domui.dom.html.NodeBase
$, acceptRequestParameter, addCssClass, addGlobalMessage, appendAfterMe, appendBeforeMe, appendCreateJS, appendJavascript, build, changed, clearFocusRequested, clearGlobalMessage, clearGlobalMessage, clearGlobalMessage, clearMessage, findComponentBundle, getActualID, getAllocationTracepoint, getClicked, getComponentBundle, getCreateJS, getCssClass, getErrorDelegate, getErrorLocation, getMessage, getOnClickJS, getOnMouseDownJS, getPage, getParent, getParent, getParent, getSharedContext, getSpecialAttribute, getSpecialAttributeList, getTag, getTestID, getTitle, getUserObject, handleDrop, hasCssClass, hasError, internalGetOldParent, internalHasChangedAttributes, internalNeedClickHandler, internalOnClicked, internalOnValueChanged, internalSetHasChangedAttributes, internalSetHasChangedAttributes, internalSetLogAllocations, internalSetTag, isBuilt, isFocusRequested, isStretchHeight, onBeforeFullRender, onForceRebuild, onHeaderContributors, onShelve, onUnshelve, refresh, remove, removeCssClass, renderJavascriptState, replaceWith, setClicked, setComponentBundle, setCssClass, setErrorDelegate, setErrorLocation, setFocus, setMessage, setOnClickJS, setOnMouseDownJS, setSpecialAttribute, setStretchHeight, setTestID, setTitle, setUserObject, toString
 
Methods inherited from class to.etc.domui.dom.css.CssBase
getBackgroundAttachment, getBackgroundColor, getBackgroundImage, getBackgroundPosition, getBackgroundRepeat, getBorderBottomColor, getBorderBottomStyle, getBorderBottomWidth, getBorderLeftColor, getBorderLeftStyle, getBorderLeftWidth, getBorderRightColor, getBorderRightStyle, getBorderRightWidth, getBorderTopColor, getBorderTopStyle, getBorderTopWidth, getBottom, getCachedStyle, getClear, getColor, getDisplay, getFloat, getFontFamily, getFontSize, getFontSizeAdjust, getFontStyle, getFontVariant, getFontWeight, getHeight, getLeft, getLineHeight, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOverflow, getPosition, getRight, getTextAlign, getTop, getTransform, getVerticalAlign, getVisibility, getWidth, getZIndex, internalSetDisplay, setBackgroundAttachment, setBackgroundColor, setBackgroundImage, setBackgroundPosition, setBackgroundRepeat, setBorder, setBorder, setBorderBottomColor, setBorderBottomStyle, setBorderBottomWidth, setBorderColor, setBorderLeftColor, setBorderLeftStyle, setBorderLeftWidth, setBorderRightColor, setBorderRightStyle, setBorderRightWidth, setBorderStyle, setBorderTopColor, setBorderTopStyle, setBorderTopWidth, setBorderWidth, setBottom, setBottom, setCachedStyle, setClear, setColor, setDisplay, setFloat, setFontFamily, setFontSize, setFontSizeAdjust, setFontStyle, setFontVariant, setFontWeight, setHeight, setLeft, setLeft, setLineHeight, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setOverflow, setPosition, setRight, setRight, setTextAlign, setTop, setTop, setTransform, setVerticalAlign, setVisibility, setWidth, setZIndex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractFloatingLookup

public AbstractFloatingLookup(java.lang.Class<T> lookupClass)
Lookup a POJO Java bean persistent class.

Parameters:
lookupClass -

AbstractFloatingLookup

public AbstractFloatingLookup(java.lang.Class<T> lookupClass,
                              ClassMetaModel metaModel)

AbstractFloatingLookup

protected AbstractFloatingLookup(boolean modal,
                                 java.lang.String txt,
                                 java.lang.Class<T> lookupClass,
                                 ClassMetaModel metaModel)
Create a floating window with the specified title in the title bar.

Parameters:
txt -
Method Detail

getLookupClass

public java.lang.Class<T> getLookupClass()

getMetaModel

public ClassMetaModel getMetaModel()

isUseStretchedLayout

public boolean isUseStretchedLayout()
Returns T if we are using stretching of result table height to all remained parent height.


setUseStretchedLayout

public void setUseStretchedLayout(boolean useStretchedLayout)
Set to F to disable stretching of result table height.

Parameters:
useStretchedLayout -