wt.clients.tools.transfer
Class ExportGraphViewCellRenderer
java.lang.Object
java.awt.Component
wt.clients.tools.transfer.ExportGraphViewCellRenderer
- All Implemented Interfaces:
- ImageObserver, MenuContainer, Serializable
- public class ExportGraphViewCellRenderer
- extends Component
- implements Serializable
Befoire using this operation, you should set the Node nd the selection
mode to the one that you need in order to be able to get the bounding
box.
- See Also:
- Serialized Form
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getAlignmentX, getAlignmentY, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, update, validate |
CLASSNAME
private static final String CLASSNAME
versionID
private static final String versionID
- See Also:
- Constant Field Values
graphNode
private ExportGraphNode graphNode
background
private Color background
lineColor
public Color lineColor
selectedColor
public Color selectedColor
descriptionBackgroundColor
public Color descriptionBackgroundColor
excludedColor
public Color excludedColor
ghostColor
public Color ghostColor
plus
Image plus
minus
Image minus
ghost
Image ghost
exclude
Image exclude
graphView
private ExportGraphView graphView
MARGIN
public static final int MARGIN
- See Also:
- Constant Field Values
ICON_WIDTH
public static final int ICON_WIDTH
- See Also:
- Constant Field Values
ICON_HEIGHT
public static final int ICON_HEIGHT
- See Also:
- Constant Field Values
PAD_WIDTH
public static final int PAD_WIDTH
- See Also:
- Constant Field Values
PAD_HEIGHT
public static final int PAD_HEIGHT
- See Also:
- Constant Field Values
FONT_SIZE
public static final int FONT_SIZE
- See Also:
- Constant Field Values
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
f
public Font f
f1
public Font f1
f2
public Font f2
f4
public Font f4
f6
public Font f6
ExportGraphViewCellRenderer
public ExportGraphViewCellRenderer()
getGraphNode
public ExportGraphNode getGraphNode()
- Gets the value of the attribute: graphNode;
- Returns:
- GraphNode
setGraphNode
public void setGraphNode(GraphNode a_GraphNode)
throws WTPropertyVetoException
- Sets the value of the attribute: graphNode;
- Parameters:
a_GraphNode
-
- Throws:
WTPropertyVetoException
getBackground
public Color getBackground()
- Gets the value of the attribute: background;
- Returns:
- Color
setBackground
public void setBackground(Color a_Background)
- Sets the value of the attribute: background;
- Parameters:
a_Background
-
paint
public void paint(Graphics g)
- Parameters:
g
-
getLocation
public Point getLocation()
- Returns:
- Point
setNode
public void setNode(GraphNode pNode)
- Parameters:
pNode
-
getGraphViewCellRendererComponent
public Component getGraphViewCellRendererComponent(ExportGraphView pGraphView,
GraphNode pNode)
- Parameters:
pGraphView
- pNode
-
- Returns:
- Component
getSelectionZone
public Polygon getSelectionZone()
- Returns:
- Polygon
setFont
int setFont(Graphics2D g,
String text,
int font_size)
getGraphView
protected ExportGraphView getGraphView()
setGraphView
protected void setGraphView(ExportGraphView a_GraphView)
throws WTPropertyVetoException
- Sets the value of the attribute: GRAPH_VIEW.
- Parameters:
a_GraphView
-
- Throws:
WTPropertyVetoException