Class UserDefinedTrackLayout
- java.lang.Object
-
- org.biojava.bio.gui.sequence.tracklayout.UserDefinedTrackLayout
-
- All Implemented Interfaces:
TrackLayout
public class UserDefinedTrackLayout extends Object implements TrackLayout
An implementation of TrackLayout that that wraps a sequence over an arbitrary set of ranges- Since:
- 1.5
- Author:
- Mark Southern
-
-
Constructor Summary
Constructors Constructor Description UserDefinedTrackLayout(RangeLocation[] ranges)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RangeLocation[]
getRanges()
int
getWrap()
int
getWrapIncrement()
void
setRange(RangeLocation loc)
void
setSequence(Sequence seq)
void
setWrap(int wrap)
void
setWrapIncrement(int inc)
-
-
-
Constructor Detail
-
UserDefinedTrackLayout
public UserDefinedTrackLayout(RangeLocation[] ranges)
-
-
Method Detail
-
setSequence
public void setSequence(Sequence seq)
- Specified by:
setSequence
in interfaceTrackLayout
-
setRange
public void setRange(RangeLocation loc)
- Specified by:
setRange
in interfaceTrackLayout
-
setWrap
public void setWrap(int wrap)
- Specified by:
setWrap
in interfaceTrackLayout
-
getWrap
public int getWrap()
- Specified by:
getWrap
in interfaceTrackLayout
-
getRanges
public RangeLocation[] getRanges()
- Specified by:
getRanges
in interfaceTrackLayout
-
getWrapIncrement
public int getWrapIncrement()
- Specified by:
getWrapIncrement
in interfaceTrackLayout
-
setWrapIncrement
public void setWrapIncrement(int inc)
- Specified by:
setWrapIncrement
in interfaceTrackLayout
-
-