|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectapollo.gui.drawable.DrawableSeqFeature
apollo.gui.drawable.SiteCodon
public class SiteCodon
SiteCodon is a class to accomodate the optimizations in SiteView and Sites. SiteView no longer uses to do its drawing. But it needs to send DrawableSeqFeatures for the findFeaturesForSelection method. And it needs to be aware of the selection of the DrawableSeqFeatures that it sends out but does not draw. SiteCodon is a DrawableSeqFeature used by Sites that never gets drawn but notifies its Sites object of any selections it receives. This class will also probably be needed to deal with dragging which is currently not implemented with the SiteView optimizations. I didnt call it DrawableSiteCodon because it is not meant to be drawn. And i dont think it needs to extend DrawableTerminalCodon Should see if its possible to also not subclass DrawableSeqFeature
| Field Summary |
|---|
| Fields inherited from class apollo.gui.drawable.DrawableSeqFeature |
|---|
boxBounds, DECORATED, draw_level, drawable_parent, feature, flags, HIGHLIGHTED, is_drawn, LABELED, LEFTEDGE, logger, RIGHTEDGE, SELECTED, VISIBLE |
| Constructor Summary | |
|---|---|
SiteCodon()
This is for dragging. |
|
SiteCodon(SeqFeature feature,
Sites sites)
SiteCodon created for selection. |
|
| Method Summary | |
|---|---|
void |
setSelected(boolean state)
Pass selection state onto Sites If this is being set to false then it no longer needs to exist |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SiteCodon(SeqFeature feature,
Sites sites)
public SiteCodon()
| Method Detail |
|---|
public void setSelected(boolean state)
setSelected in interface SelectableIsetSelected in class DrawableSeqFeature
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||