org.utgenome.gwt.widget.client
Class HorizontalTrackFrame

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.TrackFrame
                  extended by org.utgenome.gwt.widget.client.impl.TrackPanelBase
                      extended by org.utgenome.gwt.widget.client.HorizontalTrackFrame
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 HorizontalTrackFrame
extends TrackPanelBase

Track panel that has the horizontal layout.

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
 
Fields inherited from class org.utgenome.gwt.widget.client.impl.TrackPanelBase
iconSet
 
Fields inherited from class org.utgenome.gwt.widget.client.TrackFrame
BUTTON_ADJUSTHEIGHT, BUTTON_ALL, BUTTON_CLOSE, BUTTON_CONFIG, BUTTON_MINIMIZE, BUTTON_RELOAD
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
HorizontalTrackFrame()
           
 
Method Summary
protected  void drawWidget()
           
 com.google.gwt.user.client.ui.Widget getDraggableWidget()
          Get the draggable part of this widget
 String getTrackTitle()
          Gets the track title
 boolean isVisible(int buttonType)
          Checks the visibility of the button
 void setHeight(int pixelHeight)
           
 void setTrackContent(com.google.gwt.user.client.ui.Widget w)
          Set the track content widget
 void setTrackTitle(String title)
          Set the track title
 void setWidth(int pixelWidth)
          Set the track frame width.
 
Methods inherited from class org.utgenome.gwt.widget.client.impl.TrackPanelBase
addTrackButtonListener, enableResizeHeight, enableResizeWidth, getIconSetPanel, getResizeButton, setLoading, setVisible, showAdjustHightButton, showCloseButton, showConfigButton, showMinimizeButton, showReloadButton
 
Methods inherited from class org.utgenome.gwt.widget.client.TrackFrame
setHeight, setSize, setSize, setWidth
 
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, setPixelSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HorizontalTrackFrame

public HorizontalTrackFrame()
Method Detail

getDraggableWidget

public com.google.gwt.user.client.ui.Widget getDraggableWidget()
Description copied from class: TrackFrame
Get the draggable part of this widget

Specified by:
getDraggableWidget in class TrackFrame
Returns:

drawWidget

protected void drawWidget()

setHeight

public void setHeight(int pixelHeight)
Specified by:
setHeight in class TrackFrame

setWidth

public void setWidth(int pixelWidth)
Description copied from class: TrackFrame
Set the track frame width. Use this method instead of UIObject.setWidth(String).

Specified by:
setWidth in class TrackFrame

isVisible

public boolean isVisible(int buttonType)
Checks the visibility of the button

Parameters:
buttonType -
Returns:

getTrackTitle

public String getTrackTitle()
Description copied from class: TrackFrame
Gets the track title

Specified by:
getTrackTitle in class TrackFrame
Returns:

setTrackTitle

public void setTrackTitle(String title)
Description copied from class: TrackFrame
Set the track title

Specified by:
setTrackTitle in class TrackFrame

setTrackContent

public void setTrackContent(com.google.gwt.user.client.ui.Widget w)
Description copied from class: TrackFrame
Set the track content widget

Specified by:
setTrackContent in class TrackFrame


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