org.gwtbootstrap3.client.ui.base.mixin
Class IdMixin<T extends UIObject & HasId>

java.lang.Object
  extended by org.gwtbootstrap3.client.ui.base.mixin.IdMixin<T>
All Implemented Interfaces:
HasId

public class IdMixin<T extends UIObject & HasId>
extends Object
implements HasId

Author:
Sven Jacobs

Constructor Summary
IdMixin(T uiObject)
           
 
Method Summary
 String getId()
          Gets the ID of the widget
 void setId(String id)
          Sets the ID on the widget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdMixin

public IdMixin(T uiObject)
Method Detail

setId

public void setId(String id)
Description copied from interface: HasId
Sets the ID on the widget

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

getId

public String getId()
Description copied from interface: HasId
Gets the ID of the widget

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


Copyright © 2015. All rights reserved.