public class ResultItem
extends com.google.gwt.user.client.ui.Composite
ResultItem
represents the single result displayed from the portletModifier 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) |
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 |
viewAlternative() |
void |
viewAnnotation() |
void |
viewMetadata() |
void |
viewObject(ResultObj resObject) |
void |
viewParts() |
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
addStyleDependentName, 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, unsinkEvents
public 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)
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 viewMetadata()
public void viewAnnotation()
public void viewParts()
public void viewAlternative()
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 © 2014. All Rights Reserved.