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, unechoclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFullTextHeightXTypeStore 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 RegionBoardpublic void paintText(java.awt.Graphics2D g)
paintText in interface TextPainterprivate void drawRelation(java.awt.Graphics2D g,
int joff,
XRelationType xr)
public void dropOn(java.lang.Object src,
Region reg)
dropOn in class RegionBoardpublic void regionClicked(Region reg)
regionClicked in interface RegionListenerregionClicked in class RegionBoardpublic void dropGeneral(java.lang.Object src)
dropGeneral in class RegionBoardCopyright © 2013. All Rights Reserved.