public class CounterMixin<T extends com.google.gwt.user.client.ui.UIObject & HasCounter> extends Object implements HasCounter
Constructor and Description |
---|
CounterMixin(T widget) |
Modifier and Type | Method and Description |
---|---|
int |
getLength()
Get the length of characters.
|
protected void |
initialize(com.google.gwt.dom.client.Element e)
Initialize the character counter provided by the textbase elements
|
void |
setLength(int length)
Sets the length of character.
|
void |
setUiObject(T uiObject) |
public CounterMixin(T widget)
public void setLength(int length)
HasCounter
setLength
in interface HasCounter
public int getLength()
HasCounter
getLength
in interface HasCounter
protected void initialize(com.google.gwt.dom.client.Element e)
e
- - element to initialize the featurepublic void setUiObject(T uiObject)
Copyright © 2018. All rights reserved.