- All Known Subinterfaces:
- DateTagDeclaration, InTagDeclaration
public interface HasPlaceholder
Displays a short text in the input field, that describes the meaning of this field.
void setPlaceholder(String placeholder)
- Displays a short text in the input field, that describes the meaning of this field.
This is part of HTML 5, the theme should emulate the behaviour, when the browser doesn't support it.
The text will not be displayed, when the input field is readonly or disabled.
placeholder - The text to display
Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.