org.utgenome.gwt.utgb.client.track
Interface TrackGroupPropertyWriter

All Known Implementing Classes:
TrackGroupPropertyImpl

public interface TrackGroupPropertyWriter

TrackGroupPropertyWriter is an interface to write TrackGroupProperty values. After calling methods in TrackGroupPropertyWriter, it is assumed that every track managed by a TrackGroup recieves a Track.onChangeTrackGroupProperty(TrackGroupPropertyChange) or Track.onChangeTrackWindow(TrackWindow) event.

Author:
leo

Method Summary
 void apply(TrackGroupPropertyChange change)
          Apply the property changes to this writer
 void scaleDownTrackWindow()
           
 void scaleUpTrackWindow()
           
 void scrollTrackWindow(double scrollPercentage)
           
 void setProperty(Map<String,String> property)
          Set a set of properties specified in the given Map of properties.
 void setProperty(Map<String,String> properties, TrackWindow newWindow)
           
 void setProperty(String key, String value)
          Set a property (key, value)
 void setProperyChangeNotifaction(boolean enable)
           
 void setTrackWindow(int startOnGenome, int endOnGenome)
          set a genome location displayed in the current TrackWindowImpl
 void setTrackWindow(TrackWindow newWindow)
           
 void setTrackWindowSize(int windowSize)
           
 

Method Detail

setTrackWindow

void setTrackWindow(int startOnGenome,
                    int endOnGenome)
set a genome location displayed in the current TrackWindowImpl

Parameters:
startOnGenome -
endOnGenome -

setTrackWindowSize

void setTrackWindowSize(int windowSize)
Parameters:
windowSize -

setTrackWindow

void setTrackWindow(TrackWindow newWindow)

setProperyChangeNotifaction

void setProperyChangeNotifaction(boolean enable)

scrollTrackWindow

void scrollTrackWindow(double scrollPercentage)

scaleUpTrackWindow

void scaleUpTrackWindow()

scaleDownTrackWindow

void scaleDownTrackWindow()

setProperty

void setProperty(String key,
                 String value)
Set a property (key, value)

Parameters:
key -
value -

setProperty

void setProperty(Map<String,String> property)
Set a set of properties specified in the given Map of properties. This method is useful when you have to set multiple property values at the same time before invoking onChangeTrackProperty events.

Parameters:
property -

setProperty

void setProperty(Map<String,String> properties,
                 TrackWindow newWindow)

apply

void apply(TrackGroupPropertyChange change)
Apply the property changes to this writer

Parameters:
change -
target -


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