Package com.macrofocus.high_d.table
Interface Table<Component,Color,Format,R,C,V>
-
- All Superinterfaces:
com.macrofocus.crossplatform.CPComponent<Component>
- All Known Implementing Classes:
AbstractTable
,SwingTable
public interface Table<Component,Color,Format,R,C,V> extends com.macrofocus.crossplatform.CPComponent<Component>
Created by luc on 27/07/15.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Table.CellRenderer<Component,R,C,V>
static class
Table.ColumnResizePolicy
static interface
Table.DetailsFactory<Component,R>
static class
Table.InteractionMode
Interaction mode.static class
Table.PropertyType
static class
Table.Style
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
adjustColumns(boolean columnHeaderIncluded, boolean dynamicAdjustment)
MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>>
getColorTheme()
Returns the color theme to use.MutableProperty<Table.InteractionMode>
getInteractionMode()
MutableProperty<java.lang.Boolean>
getShowDistribution()
MutableProperty<java.lang.Boolean>
getShowFiltered()
com.macrofocus.molap.dataframe.DataFrame<R,C,V>
getSortedDataFrame()
void
reset()
void
setCellRenderer(C column, Table.CellRenderer<Component,R,C,V> renderer)
void
setColorTheme(MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> colorTheme)
Sets the color theme to use.void
setColumnResizePolicy(Table.ColumnResizePolicy policy)
void
setColumnVisible(C column, boolean visible)
void
setDetailsFactory(boolean alwaysVisible, Table.DetailsFactory<Component,R> factory)
void
setFormat(C column, com.macrofocus.format.CPFormat format)
void
setFrozenColumnCount(int columnCount)
void
setHidable(C column, boolean hidable)
void
setLabel(C column, java.lang.String label)
void
setLocksmith(java.lang.Object locksmith)
void
setModel(ShowFilteredDataFrame<R,C,V> dataFrame, com.macrofocus.visual.Visual<Color,R,C> visual, com.macrofocus.high_d.axis.group.AxisGroupModel<R,C> axisGroupModel)
void
setShowFiltered(MutableProperty<java.lang.Boolean> showFiltered)
void
setSortKey(C column)
-
-
-
Method Detail
-
setModel
void setModel(ShowFilteredDataFrame<R,C,V> dataFrame, com.macrofocus.visual.Visual<Color,R,C> visual, com.macrofocus.high_d.axis.group.AxisGroupModel<R,C> axisGroupModel)
-
getColorTheme
MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> getColorTheme()
Returns the color theme to use.- Returns:
- the color theme
-
setColorTheme
void setColorTheme(MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> colorTheme)
Sets the color theme to use.- Parameters:
colorTheme
- the color theme to use
-
adjustColumns
void adjustColumns(boolean columnHeaderIncluded, boolean dynamicAdjustment)
-
setColumnVisible
void setColumnVisible(C column, boolean visible)
-
setHidable
void setHidable(C column, boolean hidable)
-
setSortKey
void setSortKey(C column)
-
setLocksmith
void setLocksmith(java.lang.Object locksmith)
-
setFormat
void setFormat(C column, com.macrofocus.format.CPFormat format)
-
setLabel
void setLabel(C column, java.lang.String label)
-
setFrozenColumnCount
void setFrozenColumnCount(int columnCount)
-
reset
void reset()
-
getShowFiltered
MutableProperty<java.lang.Boolean> getShowFiltered()
-
setShowFiltered
void setShowFiltered(MutableProperty<java.lang.Boolean> showFiltered)
-
getInteractionMode
MutableProperty<Table.InteractionMode> getInteractionMode()
-
getShowDistribution
MutableProperty<java.lang.Boolean> getShowDistribution()
-
setColumnResizePolicy
void setColumnResizePolicy(Table.ColumnResizePolicy policy)
-
setDetailsFactory
void setDetailsFactory(boolean alwaysVisible, Table.DetailsFactory<Component,R> factory)
-
-