org.utgenome.gwt.utgb.client.track
Class TrackConfig

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.Panel
              extended by com.google.gwt.user.client.ui.SimplePanel
                  extended by com.google.gwt.user.client.ui.PopupPanel
                      extended by org.utgenome.gwt.utgb.client.track.TrackConfig
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.logical.shared.HasCloseHandlers<com.google.gwt.user.client.ui.PopupPanel>, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.EventPreview, com.google.gwt.user.client.ui.AcceptsOneWidget, com.google.gwt.user.client.ui.HasAnimation, 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, com.google.gwt.user.client.ui.SourcesPopupEvents, Iterable<com.google.gwt.user.client.ui.Widget>

public class TrackConfig
extends com.google.gwt.user.client.ui.PopupPanel

Track configuration panel.

Author:
leo

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.PopupPanel
com.google.gwt.user.client.ui.PopupPanel.PositionCallback
 
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
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
TrackConfig(Track track)
           
 
Method Summary
 void addConfig(DataType dataType, String defaultValue)
           
 void addConfig(String label, DataType dataType, String defaultValue)
           
 void addConfigBoolean(String label, String paramName, boolean defaultValue)
           
 void addConfigDouble(String label, String paramName, double defaultValue)
           
 void addConfigInteger(String label, String paramName, int defaultValue)
           
 void addConfigString(String label, String paramName, String defaultValue)
           
 void addHiddenConfig(String paramName, String defaultValue)
           
 boolean getBoolean(String parameterName, boolean devaultValue)
           
 float getFloat(String parameterName, float defaultValue)
           
 int getInt(String parameterName, int devaultValue)
           
 String getParameter(String parameterName)
           
 String getString(String parameterName, String defaultValue)
           
 boolean hasProperties()
           
 void init(Track track)
           
 void notifyConfigChange(String parameterName)
           
 void restoreProperties(CanonicalProperties forLoad)
           
 void saveProperties(CanonicalProperties toSave)
           
 void setParameter(String parameterName, String value)
          Set the parameter value.
 
Methods inherited from class com.google.gwt.user.client.ui.PopupPanel
addAutoHidePartner, addCloseHandler, addPopupListener, center, getContainerElement, getGlassElement, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getStyleElement, getTitle, hide, hide, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, onPreviewNativeEvent, onUnload, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setHeight, setModal, setPopupPosition, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setVisible, setWidget, setWidth, show, showRelativeTo
 
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel
add, getWidget, iterator, remove, 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, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Constructor Detail

TrackConfig

public TrackConfig(Track track)
Method Detail

init

public void init(Track track)

addConfigString

public void addConfigString(String label,
                            String paramName,
                            String defaultValue)

addConfigInteger

public void addConfigInteger(String label,
                             String paramName,
                             int defaultValue)

addConfigBoolean

public void addConfigBoolean(String label,
                             String paramName,
                             boolean defaultValue)

addConfigDouble

public void addConfigDouble(String label,
                            String paramName,
                            double defaultValue)

addConfig

public void addConfig(DataType dataType,
                      String defaultValue)

addConfig

public void addConfig(String label,
                      DataType dataType,
                      String defaultValue)

addHiddenConfig

public void addHiddenConfig(String paramName,
                            String defaultValue)

getParameter

public String getParameter(String parameterName)

setParameter

public void setParameter(String parameterName,
                         String value)
Set the parameter value. This method does not notify the configuration change to the TrackConfig

Parameters:
parameterName -
value -

getString

public String getString(String parameterName,
                        String defaultValue)

getInt

public int getInt(String parameterName,
                  int devaultValue)

getFloat

public float getFloat(String parameterName,
                      float defaultValue)

getBoolean

public boolean getBoolean(String parameterName,
                          boolean devaultValue)

notifyConfigChange

public void notifyConfigChange(String parameterName)

saveProperties

public void saveProperties(CanonicalProperties toSave)

restoreProperties

public void restoreProperties(CanonicalProperties forLoad)

hasProperties

public boolean hasProperties()


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