|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.salespointframework.desktop.formsheets.DataExchangeFormSheet.DataExchangeOption
org.salespointframework.desktop.formsheets.DataExchangeFormSheet.ListViewDataExchangeOption
public static class DataExchangeFormSheet.ListViewDataExchangeOption
This option defines options for the JListView
JListView
Field Summary | |
---|---|
protected boolean |
categorize
display categories |
protected float |
cellRatio
aspect ratio of cells |
protected Category |
defaultCategory
Category to use for Categorie with null Category |
protected float |
initialCellSize
initial cell size in slider |
protected float |
maximumCellSize
maximum cell size in slider |
protected float |
minimumCellSize
minimum cell size in slider |
protected JListView.ListViewOrientation |
orientation
Orientation of Listview items |
protected javax.swing.ListCellRenderer |
renderer
renderer to use for cell and separator rendering |
protected int |
seperatorThickness
width, respectively height of separator |
protected boolean |
showSearch
show search field flag |
protected boolean |
showSlider
show slider flag |
Fields inherited from class org.salespointframework.desktop.formsheets.DataExchangeFormSheet.DataExchangeOption |
---|
cmp, dbc, dbeg, showZeros |
Constructor Summary | |
---|---|
DataExchangeFormSheet.ListViewDataExchangeOption()
default constructor |
|
DataExchangeFormSheet.ListViewDataExchangeOption(java.util.Comparator cmp,
boolean showZeros,
DataBasketCondition dbc,
boolean categorize,
Category defaultCategory,
DataBasketEntryGrouper dbeg,
JListView.ListViewOrientation orientation,
javax.swing.ListCellRenderer renderer,
float minimumCellSize,
float maximumCellSize,
float initialCellSize,
float cellRatio,
int seperatorThickness,
boolean showSlider,
boolean showSearch)
constructor |
Method Summary | |
---|---|
DataExchangeFormSheet.DataExchangeOption |
copy()
copy option |
float |
getCellRatio()
|
Category |
getDefaultCategory()
|
float |
getInitialCellSize()
|
float |
getMaximumCellSize()
|
float |
getMinimumCellSize()
|
JListView.ListViewOrientation |
getOrientation()
|
javax.swing.ListCellRenderer |
getRenderer()
|
int |
getSeperatorThickness()
|
boolean |
isCategorize()
|
void |
setCategorize(boolean categorize)
|
void |
setCellConstraints(float minimumCellSize,
float maximumCellSize,
float initialCellSize,
float cellRatio)
set cell constraints |
void |
setCellRatio(float cellRatio)
|
void |
setDefaultCategory(Category defaultCategory)
|
void |
setInitialCellSize(float initialCellSize)
|
void |
setMaximumCellSize(float maximumCellSize)
|
void |
setMinimumCellSize(float minimumCellSize)
|
void |
setOrientation(JListView.ListViewOrientation orientation)
|
void |
setRenderer(javax.swing.ListCellRenderer renderer)
|
void |
setSeperatorThickness(int seperatorThickness)
|
Methods inherited from class org.salespointframework.desktop.formsheets.DataExchangeFormSheet.DataExchangeOption |
---|
getComparator, getDataBasketCondition, isShowZeros, setComparator, setDataBasketCondition, setShowZeros |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected javax.swing.ListCellRenderer renderer
protected JListView.ListViewOrientation orientation
protected Category defaultCategory
Category
protected boolean categorize
protected float minimumCellSize
protected float maximumCellSize
protected float initialCellSize
protected float cellRatio
protected int seperatorThickness
protected boolean showSlider
protected boolean showSearch
Constructor Detail |
---|
public DataExchangeFormSheet.ListViewDataExchangeOption()
public DataExchangeFormSheet.ListViewDataExchangeOption(java.util.Comparator cmp, boolean showZeros, DataBasketCondition dbc, boolean categorize, Category defaultCategory, DataBasketEntryGrouper dbeg, JListView.ListViewOrientation orientation, javax.swing.ListCellRenderer renderer, float minimumCellSize, float maximumCellSize, float initialCellSize, float cellRatio, int seperatorThickness, boolean showSlider, boolean showSearch)
cmp
- DataExchangeFormSheet.DataExchangeOption.cmp
showZeros
- DataExchangeFormSheet.DataExchangeOption.showZeros
dbc
- DataExchangeFormSheet.DataExchangeOption.dbc
categorize
- categorize
defaultCategory
- defaultCategory
orientation
- orientation
renderer
- renderer
minimumCellSize
- minimumCellSize
maximumCellSize
- maximumCellSize
initialCellSize
- initialCellSize
cellRatio
- cellRatio
seperatorThickness
- seperatorThickness
showSlider
- showSlider
showSearch
- showSearch
Method Detail |
---|
public DataExchangeFormSheet.DataExchangeOption copy()
copy
in class DataExchangeFormSheet.DataExchangeOption
public void setCellConstraints(float minimumCellSize, float maximumCellSize, float initialCellSize, float cellRatio)
minimumCellSize
- minimumCellSize
maximumCellSize
- maximumCellSize
initialCellSize
- initialCellSize
cellRatio
- cellRatio
JListView.setCellConstraints(float, float, float, float)
public float getMinimumCellSize()
minimumCellSize
public void setMinimumCellSize(float minimumCellSize)
minimumCellSize
- minimumCellSize
public float getMaximumCellSize()
maximumCellSize
public void setMaximumCellSize(float maximumCellSize)
maximumCellSize
- maximumCellSize
public float getInitialCellSize()
initialCellSize
public void setInitialCellSize(float initialCellSize)
initialCellSize
- initialCellSize
public float getCellRatio()
cellRatio
public void setCellRatio(float cellRatio)
cellRatio
- cellRatio
public int getSeperatorThickness()
seperatorThickness
public void setSeperatorThickness(int seperatorThickness)
seperatorThickness
- seperatorThickness
public javax.swing.ListCellRenderer getRenderer()
renderer
public void setRenderer(javax.swing.ListCellRenderer renderer)
renderer
- renderer
public JListView.ListViewOrientation getOrientation()
orientation
public void setOrientation(JListView.ListViewOrientation orientation)
orientation
- orientation
public Category getDefaultCategory()
defaultCategory
public void setDefaultCategory(Category defaultCategory)
defaultCategory
- defaultCategory
public boolean isCategorize()
categorize
public void setCategorize(boolean categorize)
categorize
- categorize
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |