public abstract class Extension extends Object implements Comparable<Extension>
Constructor and Description |
---|
Extension(String name)
Creates a new extension.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Extension extension)
Compares this extension with the given extension for order.
|
CellExtension |
extend(Cell cell)
Returns an extension of the given cell.
|
SpreadsheetExtension |
extend(Spreadsheet spreadsheet)
Returns an extension of the given spreadsheet.
|
String |
getName()
Returns the name of the extension.
|
String |
getPropertyKey()
Returns the base key to use for properties of the UI extension.
|
UIExtension |
getUIExtension(UIController uiController)
Returns the user interface extension of this extension.
|
public final String getName()
public final String getPropertyKey()
public final int compareTo(Extension extension)
compareTo
in interface Comparable<Extension>
extension
- the extension to compared topublic SpreadsheetExtension extend(Spreadsheet spreadsheet)
spreadsheet
- the spreadsheet to extendpublic CellExtension extend(Cell cell)
cell
- the cell to extendpublic UIExtension getUIExtension(UIController uiController)
uiController
- the user interface controller