com.github.gwtbootstrap.client.ui
Class ButtonCell

java.lang.Object
  extended by com.google.gwt.cell.client.AbstractCell<C>
      extended by com.google.gwt.cell.client.AbstractSafeHtmlCell<String>
          extended by com.google.gwt.cell.client.ButtonCell
              extended by com.github.gwtbootstrap.client.ui.ButtonCell
All Implemented Interfaces:
Cell<String>

public class ButtonCell
extends ButtonCell

A ButtonCell with Bootstrap Style, supporting Icons and icon types.

Since:
2.0.4.0
Author:
Carlos A Becker
See Also:
Button

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.google.gwt.cell.client.Cell
Cell.Context
 
Constructor Summary
ButtonCell()
           
ButtonCell(ButtonSize size)
           
ButtonCell(ButtonType type)
           
ButtonCell(ButtonType type, ButtonSize size)
           
ButtonCell(IconType icon)
           
ButtonCell(IconType icon, ButtonSize size)
           
ButtonCell(IconType icon, ButtonType type)
           
ButtonCell(IconType icon, ButtonType type, ButtonSize size)
           
 
Method Summary
 IconType getIcon()
           
 ButtonSize getSize()
           
 ButtonType getType()
           
 void render(Cell.Context context, SafeHtml data, SafeHtmlBuilder sb)
           
 void setIcon(IconType icon)
           
 void setSize(ButtonSize size)
           
 void setType(ButtonType type)
           
 
Methods inherited from class com.google.gwt.cell.client.ButtonCell
onBrowserEvent, onEnterKeyDown
 
Methods inherited from class com.google.gwt.cell.client.AbstractSafeHtmlCell
getRenderer, render
 
Methods inherited from class com.google.gwt.cell.client.AbstractCell
dependsOnSelection, getConsumedEvents, handlesSelection, isEditing, resetFocus, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ButtonCell

public ButtonCell()

ButtonCell

public ButtonCell(ButtonType type)

ButtonCell

public ButtonCell(IconType icon)

ButtonCell

public ButtonCell(ButtonSize size)

ButtonCell

public ButtonCell(IconType icon,
                  ButtonType type)

ButtonCell

public ButtonCell(IconType icon,
                  ButtonSize size)

ButtonCell

public ButtonCell(ButtonType type,
                  ButtonSize size)

ButtonCell

public ButtonCell(IconType icon,
                  ButtonType type,
                  ButtonSize size)
Method Detail

render

public void render(Cell.Context context,
                   SafeHtml data,
                   SafeHtmlBuilder sb)
Overrides:
render in class ButtonCell

getIcon

public IconType getIcon()

setIcon

public void setIcon(IconType icon)

getType

public ButtonType getType()

setType

public void setType(ButtonType type)

getSize

public ButtonSize getSize()

setSize

public void setSize(ButtonSize size)


Copyright © 2012 gwtbootstrap. All Rights Reserved.