| java.lang.Object javax.swing.table.AbstractTableModel com.l2fprod.common.propertysheet.PropertySheetTableModel
Inner Class :public class Item | |
Inner Class :public static class PropertyComparator implements Comparator | |
Inner Class :public static class NaturalOrderStringComparator implements Comparator | |
NAME_COLUMN | final public static int NAME_COLUMN(Code) | | |
NUM_COLUMNS | final public static int NUM_COLUMNS(Code) | | |
VALUE_COLUMN | final public static int VALUE_COLUMN(Code) | | |
PropertySheetTableModel | public PropertySheetTableModel()(Code) | | |
addProperty | public void addProperty(int index, Property property)(Code) | | |
getColumnClass | public Class getColumnClass(int columnIndex)(Code) | | |
getColumnCount | public int getColumnCount()(Code) | | |
getPropertyCategories | protected List getPropertyCategories(List localProperties)(Code) | | |
getPropertyCount | public int getPropertyCount()(Code) | | |
getPropertySheetElement | public Item getPropertySheetElement(int rowIndex)(Code) | | Get the current property sheet element, of type
Item , at
the specified row.
|
getRowCount | public int getRowCount()(Code) | | |
getToggleStates | public Map getToggleStates()(Code) | | the category view toggle states. |
isRestoreToggleStates | public boolean isRestoreToggleStates()(Code) | | Get whether this model is restoring toggle states
|
isSortingCategories | public boolean isSortingCategories()(Code) | | Get whether this model is currently sorting categories.
|
isSortingProperties | public boolean isSortingProperties()(Code) | | Get whether this model is currently sorting properties.
|
setCategorySortingComparator | public void setCategorySortingComparator(Comparator comp)(Code) | | Set the comparator used for sorting categories. If this
changes the comparator, the model will be rebuilt.
|
setProperties | public void setProperties(Property[] newProperties)(Code) | | |
setPropertySortingComparator | public void setPropertySortingComparator(Comparator comp)(Code) | | Set the comparator used for sorting properties. If this
changes the comparator, the model will be rebuilt.
|
setRestoreToggleStates | public void setRestoreToggleStates(boolean value)(Code) | | Set whether or not this model will restore the toggle states when new
properties are applied.
|
setSortingCategories | public void setSortingCategories(boolean value)(Code) | | Set whether this model is currently sorting categories.
If this changes the sorting, the model will be rebuilt.
|
setSortingProperties | public void setSortingProperties(boolean value)(Code) | | Set whether this model is currently sorting properties.
If this changes the sorting, the model will be rebuilt.
|
setToggleStates | public void setToggleStates(Map toggleStates)(Code) | | Sets the toggle states for the category views. Note this MUST be
called BEFORE setting any properties.
Parameters: toggleStates - the toggle states as returned by getToggleStates |
sortCategories | protected List sortCategories(List localCategories)(Code) | | |
sortProperties | protected List sortProperties(List localProperties)(Code) | | |
visibilityChanged | protected void visibilityChanged(boolean restoreOldStates)(Code) | | |
|
|