Package com.google.gwt.user.client.ui
Interface HasWordWrap
- All Known Subinterfaces:
TabBar.Tab
- All Known Implementing Classes:
Anchor,CheckBox,DateLabel,DialogBox.CaptionImpl,HTML,InlineHTML,InlineLabel,Label,LabelBase,NumberLabel,RadioButton,ValueLabel
public interface HasWordWrap
A widget that implements this interface has a 'word-wrap' property that can
be manipulated using these methods.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanGets whether word-wrapping is enabled.voidsetWordWrap(boolean wrap) Sets whether word-wrapping is enabled.
-
Method Details
-
getWordWrap
boolean getWordWrap()Gets whether word-wrapping is enabled.- Returns:
trueif word-wrapping is enabled.
-
setWordWrap
void setWordWrap(boolean wrap) Sets whether word-wrapping is enabled.- Parameters:
wrap-trueto enable word-wrapping.
-