|
org.openide.explorer 6.5.22 1 | |||||||||
| 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.JScrollPane
org.openide.explorer.view.ListView
org.openide.explorer.view.ListTableView
org.openide.explorer.view.TreeTableView instead.
public class ListTableView
Explorer view. Allows to view list of nodes on the left and its properties in table on the right.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JScrollPane |
|---|
JScrollPane.AccessibleJScrollPane, JScrollPane.ScrollBar |
| 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.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class org.openide.explorer.view.ListView |
|---|
list, model |
| Fields inherited from class javax.swing.JScrollPane |
|---|
columnHeader, horizontalScrollBar, horizontalScrollBarPolicy, lowerLeft, lowerRight, rowHeader, upperLeft, upperRight, verticalScrollBar, verticalScrollBarPolicy, viewport |
| 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 java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
ListTableView()
Deprecated. Create ListTableView with default NodeTableModel |
|
ListTableView(NodeTableModel ntm)
Deprecated. Creates ListTableView with provided NodeTableModel. |
|
| Method Summary | |
|---|---|
void |
addNotify()
Deprecated. |
int |
getListPreferredWidth()
Deprecated. Get preferred size of list view |
Dimension |
getPreferredSize()
Deprecated. |
int |
getTableAutoResizeMode()
Deprecated. Gets resize mode of table. |
int |
getTableColumnPreferredWidth(int index)
Deprecated. Gets preferred width of table column |
void |
removeNotify()
Deprecated. Removes listeners. |
void |
setListPreferredWidth(int width)
Deprecated. Set preferred width of list view |
void |
setPreferredSize(Dimension dim)
Deprecated. |
void |
setProperties(Node.Property[] props)
Deprecated. Set columns. |
void |
setTableAutoResizeMode(int mode)
Deprecated. Sets resize mode of table. |
void |
setTableColumnPreferredWidth(int index,
int width)
Deprecated. Sets preferred width of table column |
| Methods inherited from class org.openide.explorer.view.ListView |
|---|
createList, createModel, getAllowedDragActions, getAllowedDropActions, getDefaultProcessor, getSelectionMode, isDragSource, isDropTarget, isPopupAllowed, isTraversalAllowed, readExternal, requestFocus, requestFocusInWindow, selectionAccept, selectionChanged, setAllowedDragActions, setAllowedDropActions, setDefaultProcessor, setDragSource, setDropTarget, setPopupAllowed, setSelectionMode, setTraversalAllowed, showSelection, writeExternal |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ListTableView()
public ListTableView(NodeTableModel ntm)
ntm - node table model| Method Detail |
|---|
public void setProperties(Node.Property[] props)
props - each column is constructed from Node.Propertypublic final void setTableAutoResizeMode(int mode)
mode - - One of 5 legal values: JTable.AUTO_RESIZE_OFF,
JTable.AUTO_RESIZE_NEXT_COLUMN,
JTable.AUTO_RESIZE_SUBSEQUENT_COLUMNS,
JTable.AUTO_RESIZE_LAST_COLUMN,
JTable.AUTO_RESIZE_ALL_COLUMNSpublic final int getTableAutoResizeMode()
JTable.AUTO_RESIZE_OFF,
JTable.AUTO_RESIZE_NEXT_COLUMN,
JTable.AUTO_RESIZE_SUBSEQUENT_COLUMNS,
JTable.AUTO_RESIZE_LAST_COLUMN,
JTable.AUTO_RESIZE_ALL_COLUMNS
public final void setTableColumnPreferredWidth(int index,
int width)
index - column indexwidth - preferred column widthpublic final int getTableColumnPreferredWidth(int index)
index - column index
public void setListPreferredWidth(int width)
width - preferred widthpublic final int getListPreferredWidth()
public void setPreferredSize(Dimension dim)
setPreferredSize in class JComponentpublic Dimension getPreferredSize()
getPreferredSize in class JComponentpublic void addNotify()
public void removeNotify()
ListView
removeNotify in class ListView
|
org.openide.explorer 6.5.22 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||