org.utgenome.gwt.widget.client
Class HorizontalBorder

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.widget.client.HorizontalBorder
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 HorizontalBorder
extends com.google.gwt.user.client.ui.Composite

Horizontal Border for FrameBorder

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
protected static int LEFT
           
static int LOWER
           
protected static int RIGHT
           
static int UPPER
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
HorizontalBorder(int cornerRadius, int type, int borderFlag, String color)
           
 
Method Summary
protected  void setupWidget(int type, int borderFlag, String color)
           
 void setWidth(int width)
           
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, performDetachedInitialization, render, render, resolvePotentialElement, setWidget, 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

UPPER

public static final int UPPER
See Also:
Constant Field Values

LOWER

public static final int LOWER
See Also:
Constant Field Values

LEFT

protected static final int LEFT
See Also:
Constant Field Values

RIGHT

protected static final int RIGHT
See Also:
Constant Field Values
Constructor Detail

HorizontalBorder

public HorizontalBorder(int cornerRadius,
                        int type,
                        int borderFlag,
                        String color)
Parameters:
cornerRadius -
type - HorizontalBorder.UPPER or HorizontalBorder.LOWER
borderFlag - bit vector or FrameBorder.{NORTH, EAST, SOUTH, WEST}
color -
Method Detail

setupWidget

protected void setupWidget(int type,
                           int borderFlag,
                           String color)

setWidth

public void setWidth(int width)


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