org.utgenome.gwt.widget.client.impl
Class TrackPanelBase

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
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
Direct Known Subclasses:
HorizontalTrackFrame, TrackWindowPanel

public abstract class TrackPanelBase
extends TrackFrame

base implementation of the track panel

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  IconSetPanel 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
TrackPanelBase()
           
 
Method Summary
 void addTrackButtonListener(TrackButtonListener listener)
           
 void enableResizeHeight(boolean enable)
          Enable resize of the track height
 void enableResizeWidth(boolean enable)
          Enable resize of the track width
 IconSetPanel getIconSetPanel()
           
 com.google.gwt.user.client.ui.Widget getResizeButton()
           
 void setLoading(boolean loading)
          Start or stop the rotation of the loading button.
 void setVisible(int buttonSet, boolean visible)
          Set the visibility of the specified button
 void showAdjustHightButton(boolean show)
           
 void showCloseButton(boolean show)
           
 void showConfigButton(boolean show)
           
 void showMinimizeButton(boolean show)
           
 void showReloadButton(boolean show)
           
 
Methods inherited from class org.utgenome.gwt.widget.client.TrackFrame
getDraggableWidget, getTrackTitle, setHeight, setHeight, setSize, setSize, setTrackContent, setTrackTitle, setWidth, 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
 

Field Detail

iconSet

protected IconSetPanel iconSet
Constructor Detail

TrackPanelBase

public TrackPanelBase()
Method Detail

enableResizeWidth

public void enableResizeWidth(boolean enable)
Description copied from class: TrackFrame
Enable resize of the track width

Specified by:
enableResizeWidth in class TrackFrame

enableResizeHeight

public void enableResizeHeight(boolean enable)
Description copied from class: TrackFrame
Enable resize of the track height

Specified by:
enableResizeHeight in class TrackFrame

getIconSetPanel

public IconSetPanel getIconSetPanel()

getResizeButton

public com.google.gwt.user.client.ui.Widget getResizeButton()

addTrackButtonListener

public void addTrackButtonListener(TrackButtonListener listener)
Specified by:
addTrackButtonListener in class TrackFrame

setLoading

public void setLoading(boolean loading)
Description copied from class: TrackFrame
Start or stop the rotation of the loading button.

Specified by:
setLoading in class TrackFrame
Parameters:
loading - true: start rotate, false: stop rotate

setVisible

public void setVisible(int buttonSet,
                       boolean visible)
Description copied from class: TrackFrame
Set the visibility of the specified button

Specified by:
setVisible in class TrackFrame
Parameters:
buttonSet - set of buttons (OR value of BUTTON_RELOAD, BUTTON_CONFIG, BUTTON_ADJUSTHEIGHT, BUTTON_MINIMIZE, BUTTON_CLOSE)

showAdjustHightButton

public void showAdjustHightButton(boolean show)
Specified by:
showAdjustHightButton in class TrackFrame

showCloseButton

public void showCloseButton(boolean show)
Specified by:
showCloseButton in class TrackFrame

showConfigButton

public void showConfigButton(boolean show)
Specified by:
showConfigButton in class TrackFrame

showMinimizeButton

public void showMinimizeButton(boolean show)
Specified by:
showMinimizeButton in class TrackFrame

showReloadButton

public void showReloadButton(boolean show)
Specified by:
showReloadButton in class TrackFrame


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