en otra ventana

Anuncio
Apéndice 10 – Diagramas UML de las clases para el JTree with checkboxes
propiedad de Santhosh Kumar que usa ColeXión
»T reeCellRenderer«
Che ckTre e Ce llRe nde re r
JPanel
-
CheckT reeSelectionModel selectionModel
T reePathSelectable selectable
T reeCellRenderer delegate
T ristateCheckBox checkBox
+ Component getT reeCellRendererComponent(JT ree,Object,boolean,boolean,boolean,int,boolean)
Tristate C he ckBox
JCheckBox
- T ristateCheckBox$T ristateDecorator model
+ void addMouseListener(MouseListener)
+ void setState(Boolean)
+ Boolean getState()
+ void main(String[])
»T reeSelectionListener«
Che ckTre e Manage r
MouseAdapter
- CheckT reeSelectionModel selectionModel
- T reePathSelectable selectable
# JT ree tree
+ int hotspot
+ T reePathSelectable getSelectable(T reePathSelectable)
+ void mouseClicked(MouseEvent)
+ CheckT reeSelectionModel getSelectionModel()
+ void valueChanged(T reeSelectionEvent)
C he ckTre e Se le ctionMode l
DefaultT reeSelectionModel
- T reeModel model
- boolean dig
+ boolean isDigged()
+ boolean isPartiallySelected(T reePath)
+ boolean isPathSelected(T reePath,boolean)
- boolean isDescendant(T reePath,T reePath)
+ void setSelectionPaths(T reePath[])
+ void addSelectionPaths(T reePath[])
- boolean areSiblingsSelected(T reePath)
+ void removeSelectionPaths(T reePath[])
- void toggleRemoveSelection(T reePath)
abstract
TreePathSelectable
Object
+ boolean isSelectable(TreePath)
Descargar