|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.cell.client.AbstractCell<C>
com.google.gwt.cell.client.AbstractEditableCell<C,V>
com.google.gwt.cell.client.AbstractInputCell<T,V>
com.sencha.gxt.cell.core.client.AbstractEventInputCell<T,FieldCell.FieldViewData>
com.sencha.gxt.cell.core.client.form.FieldCell<T>
public abstract class FieldCell<T>
| Nested Class Summary | |
|---|---|
static interface |
FieldCell.FieldAppearance
|
static class |
FieldCell.FieldAppearanceOptions
|
static class |
FieldCell.FieldViewData
|
| Nested classes/interfaces inherited from interface com.google.gwt.cell.client.Cell |
|---|
Cell.Context |
| Constructor Summary | |
|---|---|
FieldCell(FieldCell.FieldAppearance appearance,
Set<String> consumedEvents)
|
|
FieldCell(FieldCell.FieldAppearance appearance,
String... consumedEvents)
|
|
| Method Summary | |
|---|---|
void |
disable(XElement parent)
Disables the cell. |
void |
enable(XElement parent)
Enables the cell. |
void |
finishEditing(Element parent,
T value,
Object key,
ValueUpdater<T> valueUpdater)
|
int |
getHeight()
Returns the height. |
int |
getWidth()
Returns the width. |
boolean |
handlesSelection()
|
boolean |
isDisabled()
Returns the cell's disabled state. |
boolean |
isReadOnly()
Returns the cell's read only state. |
void |
onBrowserEvent(Cell.Context context,
Element parent,
T value,
NativeEvent event,
ValueUpdater<T> valueUpdater)
|
abstract void |
onEmpty(XElement parent,
boolean empty)
|
void |
onValid(XElement parent,
boolean valid)
|
boolean |
redrawOnResize()
Determines if the cell should be redrawn when resized by @link CellComponent. |
void |
setHeight(int height)
Sets the height. |
void |
setName(XElement parent,
String name)
|
void |
setReadOnly(boolean readOnly)
|
void |
setSize(int width,
int height)
Sets the cell size. |
void |
setSize(XElement parent,
int width,
int height)
Sets the size of the cell without requiring a redraw. |
void |
setWidth(int width)
Sets the width. |
| Methods inherited from class com.sencha.gxt.cell.core.client.AbstractEventInputCell |
|---|
addHandler, fireEvent, isDisableEvents, setDisableEvents |
| Methods inherited from class com.google.gwt.cell.client.AbstractInputCell |
|---|
isEditing, resetFocus |
| Methods inherited from class com.google.gwt.cell.client.AbstractEditableCell |
|---|
clearViewData, getViewData, setViewData |
| Methods inherited from class com.google.gwt.cell.client.AbstractCell |
|---|
dependsOnSelection, getConsumedEvents, render, setValue |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FieldCell(FieldCell.FieldAppearance appearance,
Set<String> consumedEvents)
public FieldCell(FieldCell.FieldAppearance appearance,
String... consumedEvents)
| Method Detail |
|---|
public boolean handlesSelection()
handlesSelection in interface Cell<T>handlesSelection in class AbstractCell<T>public void disable(XElement parent)
parent - the parent elementpublic void enable(XElement parent)
parent - the parent element
public void finishEditing(Element parent,
T value,
Object key,
ValueUpdater<T> valueUpdater)
finishEditing in class AbstractInputCell<T,FieldCell.FieldViewData>public int getHeight()
ResizableCell
getHeight in interface ResizableCellpublic int getWidth()
ResizableCell
getWidth in interface ResizableCellpublic boolean isDisabled()
public boolean isReadOnly()
public void onBrowserEvent(Cell.Context context,
Element parent,
T value,
NativeEvent event,
ValueUpdater<T> valueUpdater)
onBrowserEvent in interface Cell<T>onBrowserEvent in class AbstractInputCell<T,FieldCell.FieldViewData>
public abstract void onEmpty(XElement parent,
boolean empty)
public void onValid(XElement parent,
boolean valid)
public boolean redrawOnResize()
ResizableCellCellComponent. If true, CellComponent.redraw() will be
called.
redrawOnResize in interface ResizableCellpublic void setHeight(int height)
ResizableCell
setHeight in interface ResizableCellheight - the height in pixels
public void setName(XElement parent,
String name)
public void setReadOnly(boolean readOnly)
public void setSize(int width,
int height)
ResizableCell
setSize in interface ResizableCellwidth - the width in pixelsheight - the height in pixels
public void setSize(XElement parent,
int width,
int height)
ResizableCellCellComponent when ResizableCell.redrawOnResize() returns false.
setSize in interface ResizableCellparent - the parent elementwidth - the widthheight - the heightpublic void setWidth(int width)
ResizableCell
setWidth in interface ResizableCellwidth - the width in pixels
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||