|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttreebolic.generator.domtree.Renderer
treebolic.generator.domtree.treebolic.Renderer
public class Renderer
Treebolic-specific renderer
| Field Summary | |
|---|---|
private static long |
serialVersionUID
|
private static javax.swing.text.SimpleAttributeSet |
theEdgeEndsStyle
Edge ends style |
protected static javax.swing.ImageIcon |
theEdgeIcon
Edge icon |
private static javax.swing.text.SimpleAttributeSet |
theEdgeNameStyle
Style for edge name |
private static javax.swing.text.SimpleAttributeSet |
theEdgeValueStyle
Style for edge data |
private java.util.regex.Pattern |
theFromPattern
From pattern |
protected static javax.swing.ImageIcon |
theLinkIcon
Link icon |
private static javax.swing.text.SimpleAttributeSet |
theLinkNameStyle
Style for link name |
private static javax.swing.text.SimpleAttributeSet |
theLinkValueStyle
Style for link data |
protected static javax.swing.ImageIcon |
theNodeIcon
Node icon |
private static javax.swing.text.SimpleAttributeSet |
theNodeNameStyle
Style for node name |
private static javax.swing.text.SimpleAttributeSet |
theNodeValueStyle
Style for node data |
private java.util.regex.Pattern |
theSrcPattern
Src pattern |
private static javax.swing.text.SimpleAttributeSet |
theSrcStyle
Style for src data |
private java.util.regex.Pattern |
theToPattern
To pattern |
private java.util.Map<java.lang.String,javax.swing.Icon> |
theTypeToIconMap
Icons for classes |
private java.util.Map<java.lang.String,javax.swing.text.SimpleAttributeSet> |
theTypeToNameStyleMap
Name styles for classes |
private java.util.Map<java.lang.String,javax.swing.text.SimpleAttributeSet> |
theTypeToValueStyleMap
Value styles for classes |
| Fields inherited from class treebolic.generator.domtree.Renderer |
|---|
theIconComponent, thePanel, thePatterns, thePatternToStyleMap, theTextComponent |
| Constructor Summary | |
|---|---|
Renderer()
Constructor |
|
| Method Summary | |
|---|---|
protected javax.swing.Icon |
getIconStyle(org.w3c.dom.Node thisNode)
Get icon for node |
protected javax.swing.text.SimpleAttributeSet |
getNameStyle(org.w3c.dom.Node thisNode)
Get name style for node |
protected javax.swing.text.SimpleAttributeSet |
getValueStyle(org.w3c.dom.Node thisNode)
Get value style for node |
protected DefaultDecorator |
makeDecorator(org.w3c.dom.Node thisNode)
Make node decorator |
| Methods inherited from class treebolic.generator.domtree.Renderer |
|---|
applyStyleToPatterns, getTreeCellRendererComponent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
protected static javax.swing.ImageIcon theNodeIcon
protected static javax.swing.ImageIcon theEdgeIcon
protected static javax.swing.ImageIcon theLinkIcon
private static javax.swing.text.SimpleAttributeSet theNodeNameStyle
private static javax.swing.text.SimpleAttributeSet theNodeValueStyle
private static javax.swing.text.SimpleAttributeSet theEdgeNameStyle
private static javax.swing.text.SimpleAttributeSet theLinkNameStyle
private static javax.swing.text.SimpleAttributeSet theEdgeValueStyle
private static javax.swing.text.SimpleAttributeSet theLinkValueStyle
private static javax.swing.text.SimpleAttributeSet theSrcStyle
private static javax.swing.text.SimpleAttributeSet theEdgeEndsStyle
private java.util.regex.Pattern theSrcPattern
private java.util.regex.Pattern theFromPattern
private java.util.regex.Pattern theToPattern
private java.util.Map<java.lang.String,javax.swing.text.SimpleAttributeSet> theTypeToNameStyleMap
private java.util.Map<java.lang.String,javax.swing.text.SimpleAttributeSet> theTypeToValueStyleMap
private java.util.Map<java.lang.String,javax.swing.Icon> theTypeToIconMap
| Constructor Detail |
|---|
public Renderer()
| Method Detail |
|---|
protected javax.swing.Icon getIconStyle(org.w3c.dom.Node thisNode)
Renderer
getIconStyle in class RendererthisNode - node
protected javax.swing.text.SimpleAttributeSet getNameStyle(org.w3c.dom.Node thisNode)
Renderer
getNameStyle in class RendererthisNode - node
protected javax.swing.text.SimpleAttributeSet getValueStyle(org.w3c.dom.Node thisNode)
Renderer
getValueStyle in class RendererthisNode - node
protected DefaultDecorator makeDecorator(org.w3c.dom.Node thisNode)
Renderer
makeDecorator in class RendererthisNode - node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||