|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.AbstractButton
javax.swing.JToggleButton
javax.swing.JCheckBox
org.chorem.jtimer.ui.report.tree.CheckBoxTreeCellComponent
org.chorem.jtimer.ui.report.tree.CheckBoxTreeCellEditor
public class CheckBoxTreeCellEditor
JCheckBox tree node cell editor.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JCheckBox |
---|
JCheckBox.AccessibleJCheckBox |
Nested classes/interfaces inherited from class javax.swing.JToggleButton |
---|
JToggleButton.AccessibleJToggleButton, JToggleButton.ToggleButtonModel |
Nested classes/interfaces inherited from class javax.swing.AbstractButton |
---|
AbstractButton.AccessibleAbstractButton, AbstractButton.ButtonChangeListener |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected Collection<CellEditorListener> |
cellEditorListeners
CellEditorListener s |
Fields inherited from class org.chorem.jtimer.ui.report.tree.CheckBoxTreeCellComponent |
---|
core, parentTree, uncheckedTaskSet |
Fields inherited from class javax.swing.JCheckBox |
---|
BORDER_PAINTED_FLAT_CHANGED_PROPERTY |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.SwingConstants |
---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
CheckBoxTreeCellEditor(TimerCore core,
JTree parentTree,
Set<TimerTask> uncheckedTaskList)
Constructor. |
Method Summary | |
---|---|
void |
addCellEditorListener(CellEditorListener l)
|
void |
cancelCellEditing()
|
Object |
getCellEditorValue()
|
Component |
getTreeCellEditorComponent(JTree tree,
Object value,
boolean selected,
boolean expanded,
boolean leaf,
int row)
|
boolean |
isCellEditable(EventObject evt)
|
void |
itemStateChanged(ItemEvent e)
|
void |
removeCellEditorListener(CellEditorListener l)
|
boolean |
shouldSelectCell(EventObject anEvent)
Cell selection. |
boolean |
stopCellEditing()
|
protected void |
updateChildreen(TreePath treePath,
boolean select)
Recursive update task sub task. |
Methods inherited from class org.chorem.jtimer.ui.report.tree.CheckBoxTreeCellComponent |
---|
getCheckBoxComponent |
Methods inherited from class javax.swing.JCheckBox |
---|
getAccessibleContext, getUIClassID, isBorderPaintedFlat, paramString, setBorderPaintedFlat, updateUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Collection<CellEditorListener> cellEditorListeners
CellEditorListener
s
Constructor Detail |
---|
public CheckBoxTreeCellEditor(TimerCore core, JTree parentTree, Set<TimerTask> uncheckedTaskList)
core
- coreparentTree
- treeuncheckedTaskList
- common unselected tasks listMethod Detail |
---|
public Component getTreeCellEditorComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row)
getTreeCellEditorComponent
in interface TreeCellEditor
public Object getCellEditorValue()
getCellEditorValue
in interface CellEditor
public void addCellEditorListener(CellEditorListener l)
addCellEditorListener
in interface CellEditor
public void cancelCellEditing()
cancelCellEditing
in interface CellEditor
public boolean isCellEditable(EventObject evt)
isCellEditable
in interface CellEditor
public void removeCellEditorListener(CellEditorListener l)
removeCellEditorListener
in interface CellEditor
public boolean shouldSelectCell(EventObject anEvent)
shouldSelectCell
in interface CellEditor
public boolean stopCellEditing()
stopCellEditing
in interface CellEditor
public void itemStateChanged(ItemEvent e)
itemStateChanged
in interface ItemListener
protected void updateChildreen(TreePath treePath, boolean select)
treePath
- current tree pathselect
- select (true) or deselect
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |