org.utgenome.gwt.utgb.client.track
Class TrackFrame
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.SimplePanel
org.utgenome.gwt.utgb.client.track.TrackFrame
- 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.AcceptsOneWidget, com.google.gwt.user.client.ui.HasOneWidget, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, Iterable<com.google.gwt.user.client.ui.Widget>
public class TrackFrame
- extends com.google.gwt.user.client.ui.SimplePanel
TrackFrame
wraps your Track
, then decorates the track with window manipulation buttons, a track
label, drag & drop facility, etc.
- Author:
- leo
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.HasWidgets |
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget |
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
DEBUG_ID_PREFIX |
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel |
add, getContainerElement, getWidget, iterator, remove, setWidget, setWidget |
Methods inherited from class com.google.gwt.user.client.ui.Panel |
add, adopt, adopt, clear, disown, doAttachChildren, doDetachChildren, orphan, remove |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, 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, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents |
SCROLLBAR_WIDTH
public static final int SCROLLBAR_WIDTH
- See Also:
- Constant Field Values
INFOPANEL_WIDTH
public static final int INFOPANEL_WIDTH
- See Also:
- Constant Field Values
TrackFrame
public TrackFrame(Track track,
int width,
int height)
TrackFrame
public TrackFrame(Track track,
int width)
setFrameHeight
public void setFrameHeight(int height)
getContentHeight
public int getContentHeight()
resize
public void resize(int height)
adjustFrameHeight
public void adjustFrameHeight()
onUpdateTrackWidget
public void onUpdateTrackWidget()
resizeTrackAreaWidth
public void resizeTrackAreaWidth(int newWidth)
open
public void open()
minimize
public void minimize()
switchMinimization
public void switchMinimization()
switchPackUnpack
public void switchPackUnpack()
pack
public void pack()
- Pack (fullly display: no scroll bar) the track content
unpack
public void unpack()
- Use scroll bar to display the track content
setPacked
public void setPacked(boolean packed)
enableConfig
public void enableConfig()
disableConfig
public void disableConfig()
isPacked
public boolean isPacked()
disablePack
public void disablePack()
disableResize
public void disableResize()
enableResize
public void enableResize()
disableClose
public void disableClose()
disableHide
public void disableHide()
getTrack
public Track getTrack()
getFrameBar
public com.google.gwt.user.client.ui.Label getFrameBar()
getMessageLabel
public com.google.gwt.user.client.ui.Label getMessageLabel()
setVisibleMessageLabel
public void setVisibleMessageLabel(boolean visible)
writeMessage
public void writeMessage(String message)
eraseMessage
public void eraseMessage(boolean eraseLabel)
setFrameState
public void setFrameState(TrackFrameState frameState)
setNowLoading
public void setNowLoading()
loadingDone
public void loadingDone()
Copyright © 2007-2012 utgenome.org. All Rights Reserved.