Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.memoire.dja
Class DjaControl  view DjaControl download DjaControl.java

java.lang.Object
  extended bycom.memoire.dja.DjaManipulator
      extended bycom.memoire.dja.DjaControl
All Implemented Interfaces:
DjaOptions, DjaOwner
Direct Known Subclasses:
DjaArcArrow.PC, DjaBezierArrow.PC, DjaRoundBox.PC, DjaUmlLifeline.PC, DjaZigZagArrow.PC

public class DjaControl
extends DjaManipulator


Field Summary
private  int o_
           
private  int p_
           
private  DjaObject parent_
           
private  int x_
           
private  int y_
           
 
Fields inherited from interface com.memoire.dja.DjaOptions
ABSOLUTE, anchorsColor, ANY, attachsColor, AUTO, BOTH, CENTER, closeX, closeY, controlsColor, defaultBigFont, defaultBoldFont, defaultPlainFont, defaultSmallFont, deltaX, deltaY, DISK_BG, DISK_EMPTY, DISK_FG, EAST, freesColor, handlesColor, HELPER, HORIZONTAL, LEFT, LEFT_TRIANGLE_BG, LEFT_TRIANGLE_EMPTY, LEFT_TRIANGLE_FG, LOSANGE_BG, LOSANGE_EMPTY, LOSANGE_FG, MIDDLE, NONE, NORTH, NORTH_EAST, NORTH_WEST, RELATIVE_ANCHOR, RELATIVE_ATTACH, RELATIVE_CONTROL, RELATIVE_NE, RELATIVE_NW, RELATIVE_SE, RELATIVE_SW, RELATIVE_TEXT_NE, RELATIVE_TEXT_NW, RELATIVE_TEXT_SE, RELATIVE_TEXT_SW, RIGHT, RIGHT_TRIANGLE_BG, RIGHT_TRIANGLE_EMPTY, RIGHT_TRIANGLE_FG, selectionBackground, selectionForeground, selectionTextColor, selectionZone, snap, SOUTH, SOUTH_EAST, SOUTH_WEST, SQUARE_BG, SQUARE_EMPTY, SQUARE_FG, VERTICAL, WEST
 
Constructor Summary
DjaControl(DjaObject _parent, int _p, int _o, int _x, int _y)
           
 
Method Summary
 void draggedTo(int _x, int _y)
           
 int getO()
           
 DjaOwner getOwner()
           
 int getP()
           
 DjaObject getParent()
           
 int getX()
           
 int getY()
           
 void paint(java.awt.Graphics _g)
           
 
Methods inherited from class com.memoire.dja.DjaManipulator
fireGridEvent, getGrid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

p_

private int p_

o_

private int o_

x_

private int x_

y_

private int y_

parent_

private DjaObject parent_
Constructor Detail

DjaControl

public DjaControl(DjaObject _parent,
                  int _p,
                  int _o,
                  int _x,
                  int _y)
Method Detail

getOwner

public final DjaOwner getOwner()
Specified by:
getOwner in interface DjaOwner
Specified by:
getOwner in class DjaManipulator

getP

public int getP()

getO

public int getO()

getX

public int getX()

getY

public int getY()

getParent

public DjaObject getParent()

paint

public void paint(java.awt.Graphics _g)

draggedTo

public void draggedTo(int _x,
                      int _y)