|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.orsay.lri.varna.views.VueAnnotation
public class VueAnnotation
annoted text view for edition
Field Summary | |
---|---|
private fr.orsay.lri.varna.controlers.ControleurVueAnnotation |
_controleurVueAnnotation
|
private VARNAPanel |
_vp
|
private JButton |
colorButton
|
private boolean |
limited
|
private boolean |
newAnnotation
|
private JPanel |
panel
|
private Point2D.Double |
position
|
private JSlider |
rotationSlider
|
private TextAnnotation |
textAnnotation
|
private TextAnnotation |
textAnnotationSave
|
private JTextArea |
textArea
|
private VueFont |
vueFont
|
private JSlider |
xSlider
|
private JSlider |
ySlider
|
Constructor Summary | |
---|---|
VueAnnotation(VARNAPanel vp)
creates a view for a new annoted text, without limited option |
|
VueAnnotation(VARNAPanel vp,
boolean limited)
creates a view for a new annoted text |
|
VueAnnotation(VARNAPanel vp,
int x,
int y)
creates a view for a new annoted text at a given position, without limited option |
|
VueAnnotation(VARNAPanel vp,
int x,
int y,
boolean limited)
creates a view for a new annoted text at a given position, without limited option |
|
VueAnnotation(VARNAPanel vp,
TextAnnotation textAnnot,
boolean newAnnotation)
creates a view for an annoted text, without limited option |
|
VueAnnotation(VARNAPanel vp,
TextAnnotation textAnnot,
boolean reduite,
boolean newAnnotation)
creates a view for an annoted text |
Method Summary | |
---|---|
private void |
applyFont()
|
VARNAPanel |
get_vp()
|
JPanel |
getPanel()
|
TextAnnotation |
getTextAnnotation()
|
boolean |
isLimited()
|
boolean |
isNewAnnotation()
|
void |
setLimited(boolean limited)
|
void |
show()
shows the dialog which add it to the VARNAPanel for previsualization. |
void |
update()
update the annoted text on the VARNAPanel |
void |
updateColor(Color c)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private VARNAPanel _vp
private JSlider ySlider
private JSlider xSlider
private JButton colorButton
private JTextArea textArea
private JPanel panel
private TextAnnotation textAnnotation
private TextAnnotation textAnnotationSave
private VueFont vueFont
private fr.orsay.lri.varna.controlers.ControleurVueAnnotation _controleurVueAnnotation
private boolean newAnnotation
private boolean limited
private Point2D.Double position
private JSlider rotationSlider
Constructor Detail |
---|
public VueAnnotation(VARNAPanel vp, boolean limited)
vp
- limited
- if true, lets custom position and angle.public VueAnnotation(VARNAPanel vp)
vp
- public VueAnnotation(VARNAPanel vp, int x, int y)
vp
- public VueAnnotation(VARNAPanel vp, int x, int y, boolean limited)
vp
- public VueAnnotation(VARNAPanel vp, TextAnnotation textAnnot, boolean newAnnotation)
vp
- textAnnot
- public VueAnnotation(VARNAPanel vp, TextAnnotation textAnnot, boolean reduite, boolean newAnnotation)
vp
- textAnnot
- reduite
- if true, lets custom position and angle.newAnnotation
- if true, deleted if cancelled.Method Detail |
---|
private void applyFont()
public void update()
public JPanel getPanel()
public TextAnnotation getTextAnnotation()
public VARNAPanel get_vp()
public void show()
if validate, just update the annoted text
if cancelled : remove the annoted text if it was a new one, otherwise cancel modifications
public boolean isLimited()
public void setLimited(boolean limited)
public boolean isNewAnnotation()
public void updateColor(Color c)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |