Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
MatrixTreeCellRenderer Class Reference
Inheritance diagram for MatrixTreeCellRenderer:

Public Member Functions

void flipSelection ()
 
Component getTreeCellRendererComponent (JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus)
 
void paint (Graphics g)
 
void validate ()
 
void revalidate ()
 
void repaint (long tm, int x, int y, int width, int height)
 
void repaint (Rectangle r)
 
void firePropertyChange (String propertyName, byte oldValue, byte newValue)
 
void firePropertyChange (String propertyName, char oldValue, char newValue)
 
void firePropertyChange (String propertyName, short oldValue, short newValue)
 
void firePropertyChange (String propertyName, int oldValue, int newValue)
 
void firePropertyChange (String propertyName, long oldValue, long newValue)
 
void firePropertyChange (String propertyName, float oldValue, float newValue)
 
void firePropertyChange (String propertyName, double oldValue, double newValue)
 
void firePropertyChange (String propertyName, boolean oldValue, boolean newValue)
 

Protected Member Functions

String getNodeDisplayText (MatrixTreeNode node)
 
void firePropertyChange (String propertyName, Object oldValue, Object newValue)
 

Detailed Description

Renders a node for AssetTree.

Overrides some painting method for performance reasons.

Author
Marc McIntyre mmcin.nosp@m.tyre.nosp@m.@squi.nosp@m.z.ne.nosp@m.t
See Also
AssetTreeModel

Definition at line 35 of file MatrixTreeCellRenderer.java.

Member Function Documentation

void firePropertyChange ( String  propertyName,
Object  oldValue,
Object  newValue 
)
inlineprotected

Overridden for performance reasons. See the Implementation Note for more information.

Definition at line 213 of file MatrixTreeCellRenderer.java.

void firePropertyChange ( String  propertyName,
byte  oldValue,
byte  newValue 
)
inline

Overridden for performance reasons. See the Implementation Note for more information.

Definition at line 224 of file MatrixTreeCellRenderer.java.

void firePropertyChange ( String  propertyName,
char  oldValue,
char  newValue 
)
inline

Overridden for performance reasons. See the Implementation Note for more information.

Definition at line 231 of file MatrixTreeCellRenderer.java.

void firePropertyChange ( String  propertyName,
short  oldValue,
short  newValue 
)
inline

Overridden for performance reasons. See the Implementation Note for more information.

Definition at line 238 of file MatrixTreeCellRenderer.java.

void firePropertyChange ( String  propertyName,
int  oldValue,
int  newValue 
)
inline

Overridden for performance reasons. See the Implementation Note for more information.

Definition at line 245 of file MatrixTreeCellRenderer.java.

void firePropertyChange ( String  propertyName,
long  oldValue,
long  newValue 
)
inline

Overridden for performance reasons. See the Implementation Note for more information.

Definition at line 252 of file MatrixTreeCellRenderer.java.

void firePropertyChange ( String  propertyName,
float  oldValue,
float  newValue 
)
inline

Overridden for performance reasons. See the Implementation Note for more information.

Definition at line 259 of file MatrixTreeCellRenderer.java.

void firePropertyChange ( String  propertyName,
double  oldValue,
double  newValue 
)
inline

Overridden for performance reasons. See the Implementation Note for more information.

Definition at line 266 of file MatrixTreeCellRenderer.java.

void firePropertyChange ( String  propertyName,
boolean  oldValue,
boolean  newValue 
)
inline

Overridden for performance reasons. See the Implementation Note for more information.

Definition at line 273 of file MatrixTreeCellRenderer.java.

Component getTreeCellRendererComponent ( JTree  tree,
Object  value,
boolean  selected,
boolean  expanded,
boolean  leaf,
int  row,
boolean  hasFocus 
)
inline

Sets the value of the current tree cell to value.

Parameters
selectedwhether the cell will be drawn as if selected
expandedwhether the node is currently expanded
leafwhether the node represents a leaf
hasFocuswhether the node currently has focus
rowthe row where the node exists in the sub tree
treethe JTree the receiver is being configured for.
Returns
the Component that the renderer uses to draw the value.

Definition at line 63 of file MatrixTreeCellRenderer.java.

void paint ( Graphics  g)
inline

Paints the background color that is determined by the selected state of the node, and the status of the asset

Parameters
gthe graphics

Definition at line 156 of file MatrixTreeCellRenderer.java.

void repaint ( long  tm,
int  x,
int  y,
int  width,
int  height 
)
inline

Overridden for performance reasons. See the Implementation Note for more information.

Definition at line 199 of file MatrixTreeCellRenderer.java.

void repaint ( Rectangle  r)
inline

Overridden for performance reasons. See the Implementation Note for more information.

Definition at line 206 of file MatrixTreeCellRenderer.java.

void revalidate ( )
inline

Overridden for performance reasons. See the Implementation Note for more information.

Definition at line 192 of file MatrixTreeCellRenderer.java.

void validate ( )
inline

Overridden for performance reasons. See the Implementation Note for more information.

Definition at line 185 of file MatrixTreeCellRenderer.java.


The documentation for this class was generated from the following file: