|
||||||||||
| 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
Categoryprotected 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.cmpshowZeros - DataExchangeFormSheet.DataExchangeOption.showZerosdbc - DataExchangeFormSheet.DataExchangeOption.dbccategorize - categorizedefaultCategory - defaultCategoryorientation - orientationrenderer - rendererminimumCellSize - minimumCellSizemaximumCellSize - maximumCellSizeinitialCellSize - initialCellSizecellRatio - cellRatioseperatorThickness - seperatorThicknessshowSlider - showSlidershowSearch - showSearch| Method Detail |
|---|
public DataExchangeFormSheet.DataExchangeOption copy()
copy in class DataExchangeFormSheet.DataExchangeOption
public void setCellConstraints(float minimumCellSize,
float maximumCellSize,
float initialCellSize,
float cellRatio)
minimumCellSize - minimumCellSizemaximumCellSize - maximumCellSizeinitialCellSize - initialCellSizecellRatio - cellRatioJListView.setCellConstraints(float, float, float, float)public float getMinimumCellSize()
minimumCellSizepublic void setMinimumCellSize(float minimumCellSize)
minimumCellSize - minimumCellSizepublic float getMaximumCellSize()
maximumCellSizepublic void setMaximumCellSize(float maximumCellSize)
maximumCellSize - maximumCellSizepublic float getInitialCellSize()
initialCellSizepublic void setInitialCellSize(float initialCellSize)
initialCellSize - initialCellSizepublic float getCellRatio()
cellRatiopublic void setCellRatio(float cellRatio)
cellRatio - cellRatiopublic int getSeperatorThickness()
seperatorThicknesspublic void setSeperatorThickness(int seperatorThickness)
seperatorThickness - seperatorThicknesspublic javax.swing.ListCellRenderer getRenderer()
rendererpublic void setRenderer(javax.swing.ListCellRenderer renderer)
renderer - rendererpublic JListView.ListViewOrientation getOrientation()
orientationpublic void setOrientation(JListView.ListViewOrientation orientation)
orientation - orientationpublic Category getDefaultCategory()
defaultCategorypublic void setDefaultCategory(Category defaultCategory)
defaultCategory - defaultCategorypublic boolean isCategorize()
categorizepublic void setCategorize(boolean categorize)
categorize - categorize
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||