org.gcube.portlets.user.results.client.components
public class ResultItem extends com.google.gwt.user.client.ui.Composite
ResultItem represents the single result displayed from the portlet| Modifier and Type | Class and Description |
|---|---|
protected static class |
ResultItem.TabType |
| Modifier and Type | Field and Description |
|---|---|
protected com.google.gwt.user.client.ui.SimplePanel |
collectionPanel |
static int |
HEIGHT |
static int |
WIDTH |
| Constructor and Description |
|---|
ResultItem(Controller controller,
ResultObj resObject,
int pos,
com.google.gwt.user.client.ui.Image thumb,
FlexTableRowDragController dragController) |
| Modifier and Type | Method and Description |
|---|---|
void |
enableTabs(Client_DigiObjectInfo result) |
String |
getCaption() |
com.google.gwt.user.client.ui.VerticalPanel |
getCaptionPanel() |
com.google.gwt.user.client.ui.CellPanel |
getHeaderPanel(int pos) |
com.google.gwt.user.client.ui.Image |
getMore() |
ResultObj |
getResObject() |
com.google.gwt.user.client.ui.Image |
getThumb() |
void |
setAllButtonsUp(com.google.gwt.user.client.ui.Widget sender) |
void |
setCaption(String caption) |
void |
setCollectionVisibility(boolean visible)
show or hide the collection name in the result record
|
void |
setMore(com.google.gwt.user.client.ui.Image more) |
void |
setThumb(com.google.gwt.user.client.ui.Image thumb) |
void |
viewObject(ResultObj resObject) |
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEventspublic static final int WIDTH
public static final int HEIGHT
protected com.google.gwt.user.client.ui.SimplePanel collectionPanel
public ResultItem(Controller controller, ResultObj resObject, int pos, com.google.gwt.user.client.ui.Image thumb, FlexTableRowDragController dragController)
pos - thumb - html - public com.google.gwt.user.client.ui.CellPanel getHeaderPanel(int pos)
pos - public com.google.gwt.user.client.ui.VerticalPanel getCaptionPanel()
public void viewObject(ResultObj resObject)
public void setAllButtonsUp(com.google.gwt.user.client.ui.Widget sender)
sender - the only toggle button not to be put uppublic String getCaption()
public void setCaption(String caption)
public com.google.gwt.user.client.ui.Image getMore()
public void setMore(com.google.gwt.user.client.ui.Image more)
public com.google.gwt.user.client.ui.Image getThumb()
public void setThumb(com.google.gwt.user.client.ui.Image thumb)
public void enableTabs(Client_DigiObjectInfo result)
result - public ResultObj getResObject()
public void setCollectionVisibility(boolean visible)
visible - Copyright © 2013. All Rights Reserved.