public class VScrollTablePatched.FooterCell
extends com.google.gwt.user.client.ui.Widget
Constructor and Description |
---|
VScrollTablePatched.FooterCell(String colId,
String headerText) |
Modifier and Type | Method and Description |
---|---|
char |
getAlign()
Get the alignment of the text int the cell
|
String |
getColKey()
Returns the column key of the column
|
float |
getExpandRatio()
Returns the expand ration of the cell
|
int |
getNaturalColumnWidth(int columnIndex)
Detects the natural minimum width for the column of this header cell.
|
int |
getWidth()
Returns the pixels width of the footer cell.
|
protected void |
handleCaptionEvent(com.google.gwt.user.client.Event event)
Handles a event on the captions
|
boolean |
isDefinedWidth()
Detects if width is fixed by developer on server side or resized to
current width by user.
|
boolean |
isEnabled()
Is the cell enabled?
|
void |
onBrowserEvent(com.google.gwt.user.client.Event event)
Handle column clicking
|
void |
setAlign(char c)
Set alignment of the text in the cell
|
void |
setExpandRatio(float floatAttribute)
Sets the expand ratio of the cell
|
void |
setNaturalMinimumColumnWidth(int w) |
void |
setText(String footerText)
Sets the text of the footer
|
void |
setUndefinedWidth()
Sets the width to undefined
|
void |
setWidth(int w,
boolean ensureDefinedWidth)
Sets the width of the cell.
|
protected void |
updateStyleNames(String primaryStyleName) |
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
protected void updateStyleNames(String primaryStyleName)
public void setText(String footerText)
footerText
- The text in the footerpublic void setAlign(char c)
c
- The alignment which can be ALIGN_CENTER, ALIGN_LEFT,
ALIGN_RIGHTpublic char getAlign()
public void setWidth(int w, boolean ensureDefinedWidth)
VScrollTablePatched.VScrollTableBody.getMaxIndent()
.w
- The width of the cellensureDefinedWidth
- Ensures that the given width is not recalculatedpublic void setUndefinedWidth()
public boolean isDefinedWidth()
public int getWidth()
public void setExpandRatio(float floatAttribute)
floatAttribute
- The expand ratiopublic float getExpandRatio()
public boolean isEnabled()
public void onBrowserEvent(com.google.gwt.user.client.Event event)
onBrowserEvent
in interface com.google.gwt.user.client.EventListener
onBrowserEvent
in class com.google.gwt.user.client.ui.Widget
protected void handleCaptionEvent(com.google.gwt.user.client.Event event)
event
- The event to handlepublic String getColKey()
public int getNaturalColumnWidth(int columnIndex)
columnIndex
- column index hint, if -1 (unknown) it will be detectedpublic void setNaturalMinimumColumnWidth(int w)
Copyright © 2015 Magnolia International Ltd.. All rights reserved.