public class XRelationTree extends RegionBoard implements TextPainter
Modifier and Type | Field and Description |
---|---|
(package private) PageDataStore |
pageDataStore |
(package private) XRelationType |
selectedType |
(package private) XTypeStore |
typeStore |
canvas, fullTextHeight
Constructor and Description |
---|
XRelationTree(DTextCanvas c) |
Modifier and Type | Method and Description |
---|---|
private void |
drawRelation(java.awt.Graphics2D g,
int joff,
XRelationType xr) |
void |
dropGeneral(java.lang.Object src) |
void |
dropOn(java.lang.Object src,
Region reg) |
void |
paintText(java.awt.Graphics2D g) |
void |
regionClicked(Region reg) |
void |
repaint() |
void |
setPageDataStore(PageDataStore pdStore) |
void |
setSelectedType(XRelationType xt) |
addClickRegion, addDragOrDropRegion, addDragRegion, addDropRegion, addLengthenedRegion, addRegion, addRegion, clearRegions, focusGained, focusLost, getCanvas, getDragOverRegion, getDragOverRegion, getFullTextHeight, getHeight, getHoverRegion, getWidth, notifyChange, prePaintRegions, requestFocus, setAntialias, setChangeNotifiable, unecho
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFullTextHeight
XTypeStore typeStore
XRelationType selectedType
PageDataStore pageDataStore
public XRelationTree(DTextCanvas c)
public void setPageDataStore(PageDataStore pdStore)
public void setSelectedType(XRelationType xt)
public void repaint()
repaint
in class RegionBoard
public void paintText(java.awt.Graphics2D g)
paintText
in interface TextPainter
private void drawRelation(java.awt.Graphics2D g, int joff, XRelationType xr)
public void dropOn(java.lang.Object src, Region reg)
dropOn
in class RegionBoard
public void regionClicked(Region reg)
regionClicked
in interface RegionListener
regionClicked
in class RegionBoard
public void dropGeneral(java.lang.Object src)
dropGeneral
in class RegionBoard
Copyright © 2013. All Rights Reserved.