|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.user.client.ui.UIObject com.google.gwt.user.client.ui.Widget com.google.gwt.user.client.ui.Composite org.utgenome.gwt.utgb.client.track.TrackQueue
public class TrackQueue
TrackQueue
is a widget that draws tracks
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 com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
TrackQueue(TrackGroup trackGroup)
|
Method Summary | |
---|---|
void |
adjustHeight()
|
WindowBox |
createWindow()
|
int |
getTrackIndex(Track track)
Return the index of the given track |
void |
onAddTrackGroup(TrackGroup trackGroup)
|
void |
onButtonClick(WindowBox window,
int buttonType)
An event handler when a window buton is clicked |
void |
onInsertTrack(Track track)
When a new track is inserted to the group |
void |
onInsertTrack(Track track,
int beforeIndex)
When a new track is inserted to the group |
protected void |
onLoad()
|
void |
onRemoveTrack(Track track)
When the track is removed from the group |
void |
onRemoveTrackGroup(TrackGroup trackGroup)
|
void |
onResizeTrack()
When the size of a track changes |
void |
onResizeTrackWindow(int newWindowSize)
|
void |
onResizeWindow(WindowBox window,
int newWindowSize)
|
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, 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 |
Constructor Detail |
---|
public TrackQueue(TrackGroup trackGroup)
Method Detail |
---|
public WindowBox createWindow()
public void adjustHeight()
public int getTrackIndex(Track track)
TrackLayoutManager
getTrackIndex
in interface TrackLayoutManager
public void onRemoveTrack(Track track)
TrackUpdateListener
onRemoveTrack
in interface TrackUpdateListener
public void onInsertTrack(Track track)
TrackUpdateListener
onInsertTrack
in interface TrackUpdateListener
public void onInsertTrack(Track track, int beforeIndex)
TrackUpdateListener
onInsertTrack
in interface TrackUpdateListener
public void onAddTrackGroup(TrackGroup trackGroup)
onAddTrackGroup
in interface TrackUpdateListener
public void onRemoveTrackGroup(TrackGroup trackGroup)
onRemoveTrackGroup
in interface TrackUpdateListener
public void onResizeTrack()
TrackUpdateListener
onResizeTrack
in interface TrackUpdateListener
protected void onLoad()
onLoad
in class com.google.gwt.user.client.ui.Widget
public void onButtonClick(WindowBox window, int buttonType)
WindowListener
onButtonClick
in interface WindowListener
window
- senderbuttonType
- one of WindowBox.BUTTON_CONFIG
, WindowBox.BUTTON_PACK
, WindowBox.BUTTON_MINIMIZE
, WindowBox.BUTTON_CLOSE
public void onResizeWindow(WindowBox window, int newWindowSize)
onResizeWindow
in interface WindowListener
public void onResizeTrackWindow(int newWindowSize)
onResizeTrackWindow
in interface TrackUpdateListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |