|
|||||||||
| Home >> All >> org >> gjt >> sp >> jedit >> [ gui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.gjt.sp.jedit.gui
Class JCheckBoxList

java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JTable
org.gjt.sp.jedit.gui.JCheckBoxList
- All Implemented Interfaces:
- javax.accessibility.Accessible, javax.swing.event.CellEditorListener, java.util.EventListener, java.awt.image.ImageObserver, javax.swing.event.ListSelectionListener, java.awt.MenuContainer, javax.swing.Scrollable, java.io.Serializable, javax.swing.event.TableColumnModelListener, javax.swing.event.TableModelListener
- public class JCheckBoxList
- extends javax.swing.JTable
A list where items can be selected and checked off independently.
- Since:
- jEdit 3.2pre9
| Nested Class Summary | |
private class |
JCheckBoxList.DummyRenderer
|
static class |
JCheckBoxList.Entry
A check box list entry. |
private class |
JCheckBoxList.LabelRenderer
|
| Nested classes inherited from class javax.swing.JTable |
javax.swing.JTable.AccessibleJTable |
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
private javax.swing.table.TableCellRenderer |
dummy
|
| 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.Container |
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
JCheckBoxList(java.lang.Object[] items)
Creates a checkbox list with the given list of objects. |
|
JCheckBoxList(java.util.Vector items)
Creates a checkbox list with the given list of objects. |
|
| Method Summary | |
javax.swing.table.TableCellRenderer |
getCellRenderer(int row,
int column)
Get the cell renderer for rendering the given cell. |
java.lang.Object[] |
getCheckedValues()
|
java.lang.Object |
getSelectedValue()
|
JCheckBoxList.Entry[] |
getValues()
|
private void |
init()
|
void |
selectAll()
Select all table. |
void |
setModel(java.lang.Object[] items)
Sets the model to the given list of objects. |
void |
setModel(java.util.Vector items)
Sets the model to the given list of objects. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
dummy
private javax.swing.table.TableCellRenderer dummy
| Constructor Detail |
JCheckBoxList
public JCheckBoxList(java.lang.Object[] items)
- Creates a checkbox list with the given list of objects. The elements
of this array can either be Entry instances, or other objects (if the
latter, they will default to being unchecked).
JCheckBoxList
public JCheckBoxList(java.util.Vector items)
- Creates a checkbox list with the given list of objects. The elements
of this vector can either be Entry instances, or other objects (if the
latter, they will default to being unchecked).
| Method Detail |
setModel
public void setModel(java.lang.Object[] items)
- Sets the model to the given list of objects. The elements of this
array can either be Entry instances, or other objects (if the
latter, they will default to being unchecked).
setModel
public void setModel(java.util.Vector items)
- Sets the model to the given list of objects. The elements of this
vector can either be Entry instances, or other objects (if the
latter, they will default to being unchecked).
getCheckedValues
public java.lang.Object[] getCheckedValues()
selectAll
public void selectAll()
- Description copied from class:
javax.swing.JTable - Select all table.
getValues
public JCheckBoxList.Entry[] getValues()
getSelectedValue
public java.lang.Object getSelectedValue()
getCellRenderer
public javax.swing.table.TableCellRenderer getCellRenderer(int row, int column)
- Description copied from class:
javax.swing.JTable - Get the cell renderer for rendering the given cell.
init
private void init()
|
|||||||||
| Home >> All >> org >> gjt >> sp >> jedit >> [ gui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC