org.gwtbootstrap3.client.ui.gwt
Class Widget

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by org.gwtbootstrap3.client.ui.gwt.Widget
All Implemented Interfaces:
HasAttachHandlers, HasHandlers, EventListener, HasVisibility, IsWidget, HasId, HasPull, HasResponsiveness

public class Widget
extends Widget
implements HasResponsiveness, HasId, HasPull


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
Widget()
           
 
Method Summary
 String getId()
          Gets the ID of the widget
 Pull getPull()
          
 void setHiddenOn(DeviceSize deviceSize)
          Sets the devices that the element is hidden on
 void setId(String id)
          Sets the ID on the widget
 void setPull(Pull pull)
          
 void setVisibleOn(DeviceSize deviceSize)
          Sets the devices that the element is visible on
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Widget

public Widget()
Method Detail

setId

public void setId(String id)
Sets the ID on the widget

Specified by:
setId in interface HasId
Parameters:
id - String desired ID

getId

public String getId()
Gets the ID of the widget

Specified by:
getId in interface HasId
Returns:
String widget ID

setVisibleOn

public void setVisibleOn(DeviceSize deviceSize)
Sets the devices that the element is visible on

Specified by:
setVisibleOn in interface HasResponsiveness
Parameters:
deviceSize - device size
See Also:
DeviceSize

setHiddenOn

public void setHiddenOn(DeviceSize deviceSize)
Sets the devices that the element is hidden on

Specified by:
setHiddenOn in interface HasResponsiveness
Parameters:
deviceSize - device sizes
See Also:
DeviceSize

setPull

public void setPull(Pull pull)

Specified by:
setPull in interface HasPull

getPull

public Pull getPull()

Specified by:
getPull in interface HasPull


Copyright © 2015. All rights reserved.