|
BufferedImage | dblBuffer = null |
|
The InspectorGadget class is the Explorer style table in the Matrix asset map.
- Author
- Nathan de Vries ndvri.nosp@m.es@s.nosp@m.quiz..nosp@m.net
Definition at line 50 of file InspectorGadget.java.
Returns an InspectorGadget which is a table representation of the tree passed as a parameter.
- Parameters
-
model | the table model to construct the table with. |
tree | the tree that the table represents. |
Definition at line 88 of file InspectorGadget.java.
void componentHidden |
( |
ComponentEvent |
e | ) |
|
|
inline |
Invoked when the component has been made invisible
- Parameters
-
e | a low-level event which indicates that a component moved, changed size, or changed visibility |
Definition at line 574 of file InspectorGadget.java.
void componentMoved |
( |
ComponentEvent |
e | ) |
|
|
inline |
Invoked when the component's position changes
- Parameters
-
e | a low-level event which indicates that a component moved, changed size, or changed visibility |
Definition at line 582 of file InspectorGadget.java.
void componentResized |
( |
ComponentEvent |
e | ) |
|
|
inline |
Invoked when the component's position changes
- Parameters
-
e | a low-level event which indicates that a component moved, changed size, or changed visibility |
Definition at line 598 of file InspectorGadget.java.
void componentShown |
( |
ComponentEvent |
e | ) |
|
|
inline |
Invoked when the component's position changes
- Parameters
-
e | a low-level event which indicates that a component moved, changed size, or changed visibility |
Definition at line 590 of file InspectorGadget.java.
Checks if the filter allows this node to be displayed.
- Parameters
-
node | the MatrixTreeNode to check |
- Returns
- TRUE if the filters don't block the node, FALSE otherwise.
Definition at line 764 of file InspectorGadget.java.
Fires an event about the nodes that were dragged, and where they were dropped
- Parameters
-
dragIndex | index of the node which was clicked to start the drag |
dropIndex | index of the node which was dropped onto |
node | the node that was dragged |
dropParent | the parent of the node at dropIndex |
Definition at line 611 of file InspectorGadget.java.
Returns the cell position of the bottom most selected node.
- Returns
- the cell position
Definition at line 281 of file InspectorGadget.java.
Returns the renderable component for the specified position
- Parameters
-
- Returns
- the renderable component for the specified position
Definition at line 910 of file InspectorGadget.java.
Returns the drag handler that handles drag operations.
- Returns
- the drag handler
Definition at line 779 of file InspectorGadget.java.
Returns a drag image for the specifed positions. If there is multiple positions, the drag image will reflect the cell layout offsets in the table
- Parameters
-
positions | the positions for the wanted drag image |
- Returns
- the drag image that reflects the specfied positions
Definition at line 893 of file InspectorGadget.java.
Returns the Drop handler that handles Drop operations.
- Returns
- the drop handler
Definition at line 788 of file InspectorGadget.java.
Returns the cell position of the left most selected node.
- Returns
- the cell position
Definition at line 296 of file InspectorGadget.java.
InspectorNavigator getNavigator |
( |
| ) |
|
|
inline |
Returns the InspectorNavigator which provides navigational tools.
- Returns
- the inspector navigator
Definition at line 161 of file InspectorGadget.java.
Returns the cell position of the right most selected node.
- Returns
- the cell position
Definition at line 311 of file InspectorGadget.java.
Returns the Rectangle that the selected nodes are drawn into.
- Parameters
-
positions | the NodePositions of each selected node |
- Returns
- the Rectangle the selected nodes are drawn in
Definition at line 350 of file InspectorGadget.java.
Returns the first node that is currently selected in table
- Returns
- the first node that is selected in the table, or null if there are no nodes currently selected
- See Also
- getSelectionNodes()
Definition at line 221 of file InspectorGadget.java.
Returns the nodes in the current selection.
- Returns
- the nodes in the current selection, or null if there are no nodes in the current selection
- See Also
- getSelectionNode()
Definition at line 238 of file InspectorGadget.java.
TreePath [] getSelectionPaths |
( |
| ) |
|
|
inline |
Returns the paths of all selected values.
- Returns
- an array of TreePath objects indicating the selected nodes, or null if nothing is currently selected
Definition at line 327 of file InspectorGadget.java.
Returns the cell position of the top most selected node.
- Returns
- the cell position
Definition at line 266 of file InspectorGadget.java.
Returns the MatrixTree that this table is linked to.
- Returns
- the tree.
Definition at line 170 of file InspectorGadget.java.
void initialisationComplete |
( |
InitialisationEvent |
e | ) |
|
|
inline |
InitialisationListener event that is fired when the tree has completely finished loading
- Parameters
-
- See Also
- InitialisationListener::initialisationComplete(InitialisationEvent)
Definition at line 666 of file InspectorGadget.java.
void mouseClicked |
( |
MouseEvent |
evt | ) |
|
|
inline |
Invoked when the mouse button has been clicked (pressed and released) on a component
- Parameters
-
evt | an event which indicates that a mouse action occurred in a component |
Definition at line 520 of file InspectorGadget.java.
void mouseEntered |
( |
MouseEvent |
evt | ) |
|
|
inline |
Invoked when the mouse enters a component
- Parameters
-
evt | an event which indicates that a mouse action occurred in a component |
Definition at line 487 of file InspectorGadget.java.
void mouseExited |
( |
MouseEvent |
evt | ) |
|
|
inline |
Invoked when the mouse exits a component
- Parameters
-
evt | an event which indicates that a mouse action occurred in a component |
Definition at line 495 of file InspectorGadget.java.
boolean mouseInsideCellComponent |
( |
Point |
point | ) |
|
|
inline |
Checks whether the location specified by point is within the bounds of a cell's label or icon (JLabel)
- Parameters
-
point | the point to check for |
- Returns
- TRUE if the point is within a component
-
FALSE if the point isn't within a component
Definition at line 680 of file InspectorGadget.java.
void mousePressed |
( |
MouseEvent |
evt | ) |
|
|
inline |
Invoked when a mouse button has been pressed on a component
- Parameters
-
evt | an event which indicates that a mouse action occurred in a component |
Definition at line 511 of file InspectorGadget.java.
void mouseReleased |
( |
MouseEvent |
evt | ) |
|
|
inline |
Invoked when a mouse button has been released on a component
- Parameters
-
evt | an event which indicates that a mouse action occurred in a component |
Definition at line 503 of file InspectorGadget.java.
void nodeDoubleClicked |
( |
NodeDoubleClickedEvent |
e | ) |
|
|
inline |
NodeDoubleClickedListener event that is fired when a node in a tree is double clicked
- Parameters
-
- See Also
- NodeDoubleClickedListener::nodeDoubleClicked(NodeDoubleClickedEvent)
Definition at line 639 of file InspectorGadget.java.
void paintComponent |
( |
Graphics |
g | ) |
|
|
inline |
void populateInspector |
( |
TreePath |
path | ) |
|
|
inline |
Fills the table with all the nodes in one level of a TreePath
- Parameters
-
path | the path of the nodes to display in the table |
Definition at line 387 of file InspectorGadget.java.
Strips the nodes from a table and recreates the model according to the number of columns, usually after the table is resized
Definition at line 433 of file InspectorGadget.java.
The documentation for this class was generated from the following file:
- /Users/webmaster/Desktop/squiz_matrix/core/lib/asset_map/java/src/net/squiz/matrix/inspector/InspectorGadget.java