public static enum IBrowserMode.BrowserMode extends Enum<IBrowserMode.BrowserMode>
Enum Constant and Description |
---|
Columns |
Matrix |
Spreadsheet |
Modifier and Type | Method and Description |
---|---|
abstract int |
cellToRecord(int row,
int col) |
Color |
getCellColor(int row,
int col) |
abstract Dimension |
getCellSize(int row,
int col) |
abstract int |
getColumns() |
abstract int |
getContentColumn() |
abstract ImageIcon |
getIcon(boolean selected) |
abstract int |
getIDColumn() |
abstract String |
getTitle() |
abstract String |
getTooltip() |
abstract boolean |
isColumnSelectionAllowed() |
abstract boolean |
isRowSelectionAllowed() |
abstract int[] |
recordToCell(int record) |
abstract void |
setCellSize(Dimension dim,
int row,
int col) |
abstract void |
setContentColumn(int id) |
abstract void |
setIDColumn(int id) |
boolean |
showGridHorizontal() |
boolean |
showGridVertical() |
static IBrowserMode.BrowserMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IBrowserMode.BrowserMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
abstract Dimension |
zoom(double x,
double y) |
public static final IBrowserMode.BrowserMode Spreadsheet
public static final IBrowserMode.BrowserMode Matrix
public static final IBrowserMode.BrowserMode Columns
public static IBrowserMode.BrowserMode[] values()
for (IBrowserMode.BrowserMode c : IBrowserMode.BrowserMode.values()) System.out.println(c);
public static IBrowserMode.BrowserMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract String getTitle()
public abstract ImageIcon getIcon(boolean selected)
public abstract String getTooltip()
public abstract Dimension getCellSize(int row, int col)
public abstract void setCellSize(Dimension dim, int row, int col)
public abstract Dimension zoom(double x, double y)
public abstract int getColumns()
public abstract int cellToRecord(int row, int col)
public abstract int[] recordToCell(int record)
public abstract int getIDColumn()
public abstract void setIDColumn(int id)
id
- # of the column to be used as ID from a TableModelpublic abstract int getContentColumn()
public abstract void setContentColumn(int id)
public abstract boolean isRowSelectionAllowed()
public abstract boolean isColumnSelectionAllowed()
public boolean showGridHorizontal()
public boolean showGridVertical()
public Color getCellColor(int row, int col)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.