public class Column extends DivWidget implements HasSize
It has to be added to a Row
or a FluidRow
.
<b:Column size="3">
<b:Well />
</b:Column>
Setting the size
is mandatory.
Configurator.hasResponsiveDesign()
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
InsertPanel.ForIsWidget
HasWidgets.ForIsWidget
DEBUG_ID_PREFIX
Constructor and Description |
---|
Column(int size)
Creates a new Column of given size.
|
Column(int size,
int offset)
Creates a new Column of given size and with given offset.
|
Column(int size,
int offset,
Widget... widgets)
Creates a new Column of given size, with given offset and widgets
|
Column(int size,
Widget... widgets)
Creates a new Column of given size and with given widgets.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Widget... widgets)
Adds the provided widgets to the Column.
|
void |
setOffset(int offset)
Sets the offset of the Column from the left side.
|
void |
setSize(int size)
Sets the size of the Column in the Bootstrap grid system.
|
addStyle, getId, pullRight, removeStyle, setHideOn, setId, setPullRight, setShowOn, setStyle
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
add, adopt, adopt, disown, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, 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, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
add
getWidgetIndex
getWidget, getWidgetCount, getWidgetIndex, remove
@UiConstructor public Column(int size)
size
- the size of the Column in the Bootstrap grid systempublic Column(int size, int offset)
size
- the size of the Column in the Bootstrap grid systemoffset
- the offset from the left sidepublic Column(int size, int offset, Widget... widgets)
size
- the size of the Column in the Bootstrap grid systemoffset
- the offset from the left sidewidgets
- the widgets to be added to the ColumnCopyright © 2012-2014 gwtbootstrap. All Rights Reserved.