|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JLabel
org.jgraph.graph.VertexRenderer
cz.cmc.tcgui.TCObjectView.TCObjectRenderer
cz.cmc.tcgui.ClassView.ClassRenderer
Renderer class for Class views
Nested Class Summary |
Nested classes inherited from class javax.swing.JLabel |
JLabel.AccessibleJLabel |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
protected Icon |
icon
Icon to render |
protected int |
iconX
Position to render icon |
protected int |
iconY
Position to render icon |
Fields inherited from class org.jgraph.graph.VertexRenderer |
bordercolor, borderWidth, defaultBackground, defaultForeground, graph, hasFocus, hideGroups, childrenSelected, opaque, preview, selected, view |
Fields inherited from class javax.swing.JLabel |
labelFor |
Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
ClassView.ClassRenderer()
Creates the renderer. |
Method Summary | |
Dimension |
autoSize(org.jgraph.graph.CellView view)
Returns the auto-size dimension May be overriden in subclasses |
protected void |
installAttributes(org.jgraph.graph.CellView view)
Install the attributes of specified cell in this renderer instance. |
void |
paint(Graphics g)
|
Methods inherited from class cz.cmc.tcgui.TCObjectView.TCObjectRenderer |
paintSelection |
Methods inherited from class org.jgraph.graph.VertexRenderer |
firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPerimeterPoint, getRendererComponent, isHideGroups, paintSelectionBorder, repaint, repaint, revalidate, setHideGroups, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected transient Icon icon
protected transient int iconX
protected transient int iconY
Constructor Detail |
public ClassView.ClassRenderer()
Method Detail |
protected void installAttributes(org.jgraph.graph.CellView view)
installAttributes
in class TCObjectView.TCObjectRenderer
view
- to retrieve the attribute values from.public void paint(Graphics g)
public Dimension autoSize(org.jgraph.graph.CellView view)
autoSize
in class TCObjectView.TCObjectRenderer
view
- View to return dimension for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |