|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Helix model. Model represented by a HelicalDomain.
HelicalDomain| Field Summary | |
static int |
LEFT_HANDED
A left-handed helix. |
static int |
RIGHT_HANDED
A right-handed helix. |
| Method Summary | |
void |
addObserver(java.util.Observer o)
|
java.awt.geom.Point2D |
getDirection()
Gets the direction of the drawing. |
int |
getHelixType()
Gets the type of this helix. |
int[] |
getPeriodicity()
Gets the periodicity of the helix. |
boolean |
isBrushing()
|
boolean |
isDraggable()
|
boolean |
isSelected()
|
void |
setBrushing(boolean new_state)
|
void |
setDirection(java.awt.geom.Point2D extremity)
Sets the direction of the drawing: extremity is the end of a vector starting at (0,0). |
void |
setDragging(boolean new_state)
|
void |
setHelixType(int type)
Sets the type of this helix. |
void |
setPeriodicity(int[] new_per)
Sets the periodicity of the helix. |
void |
setSelected(boolean new_state)
|
void |
toggleSelected()
|
| Field Detail |
public static final int LEFT_HANDED
public static final int RIGHT_HANDED
| Method Detail |
public void setPeriodicity(int[] new_per)
public int[] getPeriodicity()
setPeriodicity(int[])public void setHelixType(int type)
LEFT_HANDED,
RIGHT_HANDEDpublic int getHelixType()
public void setDirection(java.awt.geom.Point2D extremity)
public java.awt.geom.Point2D getDirection()
public boolean isDraggable()
public void setDragging(boolean new_state)
public boolean isSelected()
public void setSelected(boolean new_state)
public void toggleSelected()
public boolean isBrushing()
public void setBrushing(boolean new_state)
public void addObserver(java.util.Observer o)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||