|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdiva.canvas.tutorial.LabelTutorial
public class LabelTutorial
This tutorial illustrates how to use LabelFigure and related classes.
| Field Summary | |
|---|---|
private JCanvas |
canvas
|
(package private) BasicController |
controller
|
(package private) Interactor |
defaultInteractor
|
private GraphicsPane |
graphicsPane
|
| Constructor Summary | |
|---|---|
LabelTutorial()
Create a JCanvas and put it into a window |
|
| Method Summary | |
|---|---|
void |
createLabeledWrappers()
Create a couple of figures with labels attached to them. |
void |
createLabels()
Create a collection of labels. |
static void |
main(java.lang.String[] argv)
Main function |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private JCanvas canvas
private GraphicsPane graphicsPane
BasicController controller
Interactor defaultInteractor
| Constructor Detail |
|---|
public LabelTutorial()
| Method Detail |
|---|
public void createLabels()
public void createLabeledWrappers()
public static void main(java.lang.String[] argv)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||