org.utgenome.gwt.utgb.client.ui
Class RoundCornerFrame

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by org.utgenome.gwt.utgb.client.ui.RoundCornerFrame
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget

public class RoundCornerFrame
extends com.google.gwt.user.client.ui.Composite

A frame with round corners. You can set arbitrary widgets to this frame by using setWidget(Widget).

Author:
leo

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
 
Field Summary
static int BORDER_FULL
           
static int EAST
           
static int NORTH
           
static int SOUTH
           
static int WEST
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
RoundCornerFrame(String color)
           
RoundCornerFrame(String color, float alpha, int borderWidth)
           
RoundCornerFrame(String color, float alpha, int borderWidth, int borderFlag)
           
 
Method Summary
 void setBorderWidth(int borderWidth)
           
 void setFrameColor(String color, float alpha)
           
 void setWidget(com.google.gwt.user.client.ui.Widget w)
           
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, performDetachedInitialization, render, render, resolvePotentialElement, wrapElement
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
 
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, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NORTH

public static final int NORTH
See Also:
Constant Field Values

EAST

public static final int EAST
See Also:
Constant Field Values

WEST

public static final int WEST
See Also:
Constant Field Values

SOUTH

public static final int SOUTH
See Also:
Constant Field Values

BORDER_FULL

public static final int BORDER_FULL
See Also:
Constant Field Values
Constructor Detail

RoundCornerFrame

public RoundCornerFrame(String color)

RoundCornerFrame

public RoundCornerFrame(String color,
                        float alpha,
                        int borderWidth)

RoundCornerFrame

public RoundCornerFrame(String color,
                        float alpha,
                        int borderWidth,
                        int borderFlag)
Method Detail

setWidget

public void setWidget(com.google.gwt.user.client.ui.Widget w)
Overrides:
setWidget in class com.google.gwt.user.client.ui.Composite

setBorderWidth

public void setBorderWidth(int borderWidth)

setFrameColor

public void setFrameColor(String color,
                          float alpha)


Copyright © 2007-2012 utgenome.org. All Rights Reserved.