com.github.gwtbootstrap.client.ui.base
Interface HasPlaceholder

All Known Implementing Classes:
DateBox, DateBoxBase, DoubleBox, IntegerBox, LongBox, PasswordTextBox, TextArea, TextBox, TextBoxBase, ValueBox, ValueBoxBase

public interface HasPlaceholder

Interface for has Placeholder attribute element.

Since:
2.0.4.0
Author:
ohashi keisuke
See Also:
PlaceholderHelper

Method Summary
 String getPlaceholder()
          Get a placeholder attribute (HTML5).
 void setPlaceholder(String placeholder)
          Set a placeholder attribute (HTML5).
 

Method Detail

setPlaceholder

void setPlaceholder(String placeholder)
Set a placeholder attribute (HTML5).

Parameters:
placeholder - the String to show. Use a empty string or null to remove the attribute.

getPlaceholder

String getPlaceholder()
Get a placeholder attribute (HTML5).

Returns:
placeholder attribute.


Copyright © 2012 gwtbootstrap. All Rights Reserved.