|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Label
com.google.gwt.user.client.ui.HTML
com.itmill.toolkit.terminal.gwt.client.ICaption
public class ICaption
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasHorizontalAlignment |
---|
com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant |
Nested classes/interfaces inherited from interface com.google.gwt.i18n.client.HasDirection |
---|
com.google.gwt.i18n.client.HasDirection.Direction |
Field Summary | |
---|---|
static String |
CLASSNAME
|
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Fields inherited from interface com.google.gwt.user.client.ui.HasHorizontalAlignment |
---|
ALIGN_CENTER, ALIGN_DEFAULT, ALIGN_LEFT, ALIGN_RIGHT |
Constructor Summary | |
---|---|
ICaption(Paintable component,
ApplicationConnection client)
|
Method Summary | |
---|---|
int |
getHeight()
|
Paintable |
getOwner()
Returns Paintable for which this Caption belongs to. |
int |
getRenderedWidth()
|
int |
getRequiredWidth()
|
static boolean |
isNeeded(UIDL uidl)
|
void |
onBrowserEvent(com.google.gwt.user.client.Event event)
|
void |
setAlignment(String alignment)
|
void |
setMaxWidth(int maxWidth)
|
boolean |
shouldBePlacedAfterComponent()
|
boolean |
updateCaption(UIDL uidl)
Updates the caption from UIDL. |
Methods inherited from class com.google.gwt.user.client.ui.HTML |
---|
getHTML, setHTML, wrap |
Methods inherited from class com.google.gwt.user.client.ui.Label |
---|
addClickListener, addMouseListener, addMouseWheelListener, getDirection, getHorizontalAlignment, getText, getWordWrap, removeClickListener, removeMouseListener, removeMouseWheelListener, setDirection, setHorizontalAlignment, setText, setWordWrap |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
doAttachChildren, doDetachChildren, getParent, isAttached, onAttach, onDetach, onLoad, onUnload, removeFromParent |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setWidth, setVisible, setVisible, sinkEvents, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.google.gwt.user.client.ui.HasText |
---|
getText, setText |
Field Detail |
---|
public static final String CLASSNAME
Constructor Detail |
---|
public ICaption(Paintable component, ApplicationConnection client)
component
- optional owner of caption. If not set, getOwner will return
nullclient
- Method Detail |
---|
public boolean updateCaption(UIDL uidl)
uidl
-
public void onBrowserEvent(com.google.gwt.user.client.Event event)
onBrowserEvent
in interface com.google.gwt.user.client.EventListener
onBrowserEvent
in class com.google.gwt.user.client.ui.Label
public static boolean isNeeded(UIDL uidl)
public Paintable getOwner()
public boolean shouldBePlacedAfterComponent()
public int getRenderedWidth()
public int getRequiredWidth()
public int getHeight()
public void setAlignment(String alignment)
public void setMaxWidth(int maxWidth)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |