de.matthiasmann.twl
Class PropertySheet

java.lang.Object
  extended by de.matthiasmann.twl.Widget
      extended by de.matthiasmann.twl.TableBase
          extended by de.matthiasmann.twl.TreeTable
              extended by de.matthiasmann.twl.PropertySheet
All Implemented Interfaces:
ScrollPane.AutoScrollable, ScrollPane.CustomPageSize, ScrollPane.Scrollable

public class PropertySheet
extends TreeTable

A property sheet class


Nested Class Summary
static class PropertySheet.ComboBoxEditor<T>
           
static class PropertySheet.ComboBoxEditorFactory<T>
           
static interface PropertySheet.PropertyEditor
           
static interface PropertySheet.PropertyEditorFactory<T>
           
 
Nested classes/interfaces inherited from class de.matthiasmann.twl.TreeTable
TreeTable.ExpandListener, TreeTable.ModelChangeListener, TreeTable.NodeState
 
Nested classes/interfaces inherited from class de.matthiasmann.twl.TableBase
TableBase.Callback, TableBase.CellRenderer, TableBase.CellWidgetCreator, TableBase.ColumnHeader, TableBase.ColumnSizeSequence, TableBase.DragListener, TableBase.KeyboardSearchHandler, TableBase.StringCellRenderer
 
Nested classes/interfaces inherited from class de.matthiasmann.twl.Widget
Widget.OffscreenMouseAdjustments, Widget.RenderOffscreen
 
Field Summary
 
Fields inherited from class de.matthiasmann.twl.TableBase
autoSizeAllRows, callbacks, cellRenderers, columnDefaultCellRenderer, columnDividerDragableDistance, columnHeaderHeight, columnHeaderModel, columnHeaders, columnModel, columnResizeCursor, defaultColumnWidth, DRAG_COLUMN_HEADER, DRAG_IGNORE, DRAG_INACTIVE, DRAG_USER, dragActive, dragColumn, dragCursor, dragListener, dragNotPossibleCursor, dragStartColWidth, dragStartSumWidth, dragStartX, dropMarkerBeforeRow, dropMarkerRow, ensureColumnHeaderMinWidth, firstRowPartialVisible, firstVisibleColumn, firstVisibleRow, hasCellWidgetCreators, imageColumnDivider, imageRowBackground, imageRowDropMarker, imageRowOverlay, keyboardSearchHandler, LAST_MOUSE_Y_OUTSIDE, lastMouseColumn, lastMouseRow, lastMouseY, lastRowPartialVisible, lastVisibleColumn, lastVisibleRow, normalCursor, numColumns, numRows, rowHeight, rowModel, scrollPosX, scrollPosY, selectionManager, STATE_FIRST_COLUMNHEADER, STATE_LAST_COLUMNHEADER, STATE_LEAD_ROW, STATE_ROW_DROPTARGET, STATE_ROW_HOVER, STATE_ROW_ODD, STATE_ROW_SELECTED, STATE_SELECTED, STATE_SORT_ASCENDING, STATE_SORT_DESCENDING, tableBaseThemeInfo, updateAllCellWidgets, updateAllColumnWidth, widgetGrid
 
Fields inherited from class de.matthiasmann.twl.Widget
STATE_DISABLED, STATE_HAS_FOCUSED_CHILD, STATE_HAS_OPEN_POPUPS, STATE_KEYBOARD_FOCUS
 
Constructor Summary
PropertySheet()
           
 
Method Summary
protected  void applyTheme(ThemeInfo themeInfo)
          Apply the given theme.
protected  void applyThemePropertiesSheet(ThemeInfo themeInfo)
           
protected  TableBase.CellRenderer getCellRenderer(int row, int col, TreeTableNode node)
           
 SimplePropertyList getPropertyList()
           
<T> void
registerPropertyEditorFactory(java.lang.Class<T> clazz, PropertySheet.PropertyEditorFactory<T> factory)
           
 void setModel(TreeTableModel model)
           
 
Methods inherited from class de.matthiasmann.twl.TreeTable
addExpandListener, applyThemeTreeTable, collapseAll, computeNumRows, createNodeState, expandedChanged, getCellData, getNodeFromRow, getOrCreateNodeState, getRowFromNode, getRowFromNodeExpand, getTooltipContentFromRow, isRowExpanded, isVisible, modelNodesAdded, modelNodesChanged, modelNodesRemoved, recursiveRemove, removeExpandListener, setLeadRowExpanded, setRowExpanded
 
Methods inherited from class de.matthiasmann.twl.TableBase
addCallback, adjustScrollPosition, applyCellRendererTheme, applyThemeMouseCursor, applyThemeTableBase, autoSizeAllRows, autoSizeRow, cancelDragging, checkColumnIndex, checkColumnRange, checkRowIndex, checkRowRange, childAdded, childRemoved, clampColumnWidth, clearDropMarker, columnHeaderClicked, computePreferredColumnWidth, computeRowHeight, createColumnHeader, getAutoScrollDirection, getCellRenderer, getCellRendererNoDefault, getColumnDefaultCellRenderer, getColumnEndPosition, getColumnFromPosition, getColumnHeaderAnimationState, getColumnMPM, getColumnSeparatorUnderMouse, getColumnStartPosition, getColumnUnderMouse, getColumnWidth, getDefaultCellRenderer, getDragListener, getDropMarkerRow, getKeyboardSearchHandler, getMinHeight, getMouseCursor, getNumColumns, getNumRows, getNumVisibleRows, getOffsetX, getOffsetY, getPageSizeX, getPageSizeY, getPreferredInnerHeight, getPreferredInnerWidth, getRowEndPosition, getRowFromPosition, getRowHeight, getRowStartPosition, getRowUnderMouse, getSelectionManager, getTooltipContentAt, handleDragEvent, handleEvent, handleKeyStrokeAction, handleMouseEvent, insertCellRenderer, isCellSelected, isDropMarkerBeforeRow, isFixedWidthMode, isMouseInColumnHeader, isRowSelected, isVariableRowHeight, layout, modelAllChanged, modelCellChanged, modelColumnHeaderChanged, modelColumnsDeleted, modelColumnsInserted, modelRowChanged, modelRowsChanged, modelRowsDeleted, modelRowsInserted, paintWidget, positionChanged, registerCellRenderer, removeAllCellWidgets, removeAllChildren, removeCallback, removeCellWidget, scrollToRow, setColumnDefaultCellRenderer, setColumnSortOrderAnimationState, setColumnWidth, setDefaultSelectionManager, setDragListener, setDropMarker, setDropMarker, setKeyboardSearchHandler, setScrollPosition, setSelectionManager, setVaribleRowHeight, sizeChanged, updateAll, updateAllCellWidgets, updateAllColumnWidth, updateCellWidget, updateColumnHeader, updateColumnHeaderNumbers
 
Methods inherited from class de.matthiasmann.twl.Widget
add, addActionMapping, addPropertyChangeListener, addPropertyChangeListener, adjustSize, afterAddToGUI, allChildrenRemoved, applyThemeBackground, applyThemeBorder, applyThemeInputMap, applyThemeMaxSize, applyThemeMinSize, applyThemeOffscreenExtra, applyThemeOverlay, applyThemeTooltip, beforeRemoveFromGUI, borderChanged, canAcceptKeyboardFocus, childInvalidateLayout, childVisibilityChanged, computeSize, destroy, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, focusFirstChild, focusLastChild, focusNextChild, focusPrevChild, getActionMap, getAnimationState, getBackground, getBorderBottom, getBorderHorizontal, getBorderLeft, getBorderRight, getBorderTop, getBorderVertical, getBottom, getChild, getChildAt, getChildIndex, getGUI, getHeight, getInnerBottom, getInnerHeight, getInnerRight, getInnerWidth, getInnerX, getInnerY, getInputMap, getKeyboardFocusOrder, getMaxHeight, getMaxWidth, getMinWidth, getMouseCursor, getNumChildren, getOffscreenExtraBottom, getOffscreenExtraLeft, getOffscreenExtraRight, getOffscreenExtraTop, getOrCreateActionMap, getOverlay, getParent, getPreferredHeight, getPreferredWidth, getRenderOffscreen, getRight, getRootWidget, getTheme, getThemePath, getThemeTooltipContent, getTintAnimator, getTooltipContent, getWidgetAt, getWidth, getX, getY, giveupKeyboardFocus, hasKeyboardFocus, hasOpenPopups, hasSharedAnimationState, insertChild, invalidateLayout, invalidateLayoutLocally, isAbsoluteTheme, isClip, isDepthFocusTraversal, isEnabled, isFocusKeyEnabled, isInside, isLocallyEnabled, isMouseInside, isVisible, keyboardFocusChildChanged, keyboardFocusGained, keyboardFocusGained, keyboardFocusLost, layoutChildFullInnerArea, layoutChildrenFullInnerArea, moveChild, paint, paintBackground, paintChild, paintChildren, paintDragOverlay, paintOverlay, reapplyTheme, removeChild, removeChild, removePropertyChangeListener, removePropertyChangeListener, requestKeyboardFocus, requestKeyboardFocus, resetTooltip, setActionMap, setBackground, setBorderSize, setBorderSize, setBorderSize, setBorderSize, setCanAcceptKeyboardFocus, setClip, setDepthFocusTraversal, setEnabled, setFocusKeyEnabled, setInnerSize, setInputMap, setMaxSize, setMinSize, setMouseCursor, setOffscreenExtra, setOffscreenExtra, setOverlay, setPosition, setRenderOffscreen, setSize, setTheme, setTintAnimator, setTooltipContent, setVisible, updateTintAnimation, updateTooltip, validateLayout, widgetDisabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertySheet

public PropertySheet()
Method Detail

getPropertyList

public SimplePropertyList getPropertyList()

registerPropertyEditorFactory

public <T> void registerPropertyEditorFactory(java.lang.Class<T> clazz,
                                              PropertySheet.PropertyEditorFactory<T> factory)

setModel

public void setModel(TreeTableModel model)
Overrides:
setModel in class TreeTable

applyTheme

protected void applyTheme(ThemeInfo themeInfo)
Description copied from class: Widget
Apply the given theme. This method also calls invalidateLayout()

Overrides:
applyTheme in class TreeTable
Parameters:
themeInfo - The theme info for this widget

applyThemePropertiesSheet

protected void applyThemePropertiesSheet(ThemeInfo themeInfo)

getCellRenderer

protected TableBase.CellRenderer getCellRenderer(int row,
                                                 int col,
                                                 TreeTableNode node)
Overrides:
getCellRenderer in class TreeTable