public class DraggableListItem extends org.zkoss.zul.Listitem implements TypedListitem, ResultListItem
org.zkoss.zul.Listitem.ExtraCtrlorg.zkoss.zk.ui.AbstractComponent.ChildrenTypedListitem.ListitemType| Constructor and Description |
|---|
DraggableListItem(ResultProperties properties,
ResultSetViewImpl view)
Constructs a new DraggableListItem.
|
| Modifier and Type | Method and Description |
|---|---|
DocumentId |
getAttachmentId()
If this is a workflow-item, this method returns the ID of the attached document.
|
ResultSetView |
getCorrespondingView()
Returns the view this DraggableListItem belongs to.
|
String |
getDdcName()
Returns the name of the DDC this item belongs to.
|
DocumentId |
getDocumentId()
Returns the ID that identifies the document represented by this ResultListItem.
|
org.zkoss.zul.Image |
getExpandImage() |
int |
getOriginalIndex()
Returns the index of this item in the list like it was returned from the query.
|
TypedListitem.ListitemType |
getType() |
boolean |
isFolderItem()
Returns true if this item represents any kind of folder.
|
boolean |
isUnread()
Returns true if this item was not yet read.
|
boolean |
isWorkflowItem()
Returns true if this item is contained in a workflow-inbox.
|
void |
setExpandImage(org.zkoss.zul.Image expImage) |
void |
setRead()
Sets the CSS style for a read document.
|
void |
setUnread()
Sets the CSS style for an unread document.
|
addMoved, beforeChildAdded, beforeParentChanged, clone, getExtraCtrl, getImage, getIndex, getLabel, getListbox, getListboxApi, getListgroup, getListgroupApi, getMaxlength, getMold, getSrc, getValue, getZclass, isCheckable, isDisabled, isLoaded, isSelected, renderProperties, setCheckable, setDisabled, setImage, setIndex, setLabel, setSelected, setSrc, setValue, setVisible, smartUpdate, smartUpdate, smartUpdategetContext, getCtrlKeys, getPopup, getTooltip, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltipfocus, getAction, getDraggable, getDroppable, getHeight, getHflex, getLeft, getRenderdefer, getSclass, getStyle, getTooltiptext, getTop, getVflex, getWidth, getZindex, getZIndex, service, setAction, setClass, setDraggable, setDroppable, setFocus, setHeight, setHeightDirectly, setHflex, setHflexDirectly, setLeft, setLeftDirectly, setRenderdefer, setSclass, setStyle, setTooltiptext, setTop, setTopDirectly, setVflex, setWidth, setWidthDirectly, setZclass, setZindex, setZIndex, setZIndexDirectlyaddAnnotation, addAnnotation, addClientEvent, addEventHandler, addEventListener, addForward, addForward, addForward, addForward, addScopeListener, addSharedAnnotationMap, addSharedEventHandlerMap, appendChild, applyProperties, beforeChildRemoved, containsVariable, detach, didActivate, didActivate, didDeserialize, didDeserialize, disableClientUpdate, equals, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getChildren, getClientEvents, getDefaultMold, getDefinition, getDesktop, getEventHandler, getEventHandlerNames, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, getSpaceOwner, getStubonly, getUuid, getVariable, getWidgetAttribute, getWidgetAttributeNames, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttribute, hasAttributeOrFellow, hasFellow, hasFellow, insertBefore, invalidate, isChildable, isInvalidated, isListenerAvailable, isVisible, newChildren, newExtraCtrl, onChildAdded, onChildRemoved, onPageAttached, onPageDetached, onWrongValue, redraw, redrawChildren, removeAttribute, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, removeScopeListener, render, render, render, renderIdSpace, response, response, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setAttribute, setAuService, setDefinition, setDefinition, setId, setMold, setPage, setPageBefore, setParent, setStubonly, setVariable, setVisibleDirectly, setWidgetAttribute, setWidgetClass, setWidgetListener, setWidgetOverride, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdateWidgetListener, smartUpdateWidgetOverride, toString, unsetVariable, updateByClient, willPassivate, willPassivate, willSerialize, willSerializefinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetImage, getLabel, getListboxApi, getListgroupApi, getMaxlength, getValue, isCheckable, isLoaded, isSelected, setCheckable, setDisabled, setImage, setLabel, setSelected, setValuegetContext, getCtrlKeys, getPopup, getTooltip, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltipfocus, getHeight, getLeft, getRenderdefer, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZclass, getZindex, getZIndex, setDraggable, setDroppable, setFocus, setHeight, setLeft, setRenderdefer, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZclass, setZindex, setZIndexaddEventListener, addForward, addForward, addForward, addForward, appendChild, applyProperties, clone, containsVariable, detach, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getChildren, getDefinition, getDesktop, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, getSpaceOwner, getStubonly, getUuid, getVariable, getWidgetAttribute, getWidgetAttributeNames, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttributeOrFellow, hasFellow, hasFellow, insertBefore, invalidate, isInvalidated, isListenerAvailable, isVisible, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, setAttribute, setAttribute, setAuService, setId, setMold, setPage, setPageBefore, setParent, setStubonly, setVariable, setVisible, setWidgetAttribute, setWidgetClass, setWidgetListener, setWidgetOverride, unsetVariableaddScopeListener, getAttribute, hasAttribute, removeAttribute, removeScopeListener, setAttributegetIndex, isSelected, setFocus, setSelectedpublic DraggableListItem(ResultProperties properties, ResultSetViewImpl view) throws DocumentIdentificationException
properties - properties of this itemview - parent viewDocumentIdentificationException - document identification exceptionpublic int getOriginalIndex()
ResultListItemgetOriginalIndex in interface ResultListItempublic boolean isWorkflowItem()
ResultListItemisWorkflowItem in interface ResultListItempublic boolean isFolderItem()
ResultListItemisFolderItem in interface ResultListItempublic DocumentId getDocumentId()
ResultListItemgetDocumentId in interface ResultListItempublic DocumentId getAttachmentId()
ResultListItemgetAttachmentId in interface ResultListItempublic String getDdcName()
ResultListItemgetDdcName in interface ResultListItempublic ResultSetView getCorrespondingView()
getCorrespondingView in interface ResultListItempublic TypedListitem.ListitemType getType()
getType in interface TypedListitemTypedListitem.getType()public org.zkoss.zul.Image getExpandImage()
public void setExpandImage(org.zkoss.zul.Image expImage)
expImage - the expand image to setpublic boolean isUnread()
ResultListItemisUnread in interface ResultListItempublic void setRead()
setRead in interface ResultListItempublic void setUnread()
setUnread in interface ResultListItemCopyright © 2016 SAPERION AG. All rights reserved.