public class FTableColumn extends java.lang.Object implements FormElementI, FormElementWithDisplayPropertyI
Modifier and Type | Field and Description |
---|---|
static int |
CACHE_NEVER |
static int |
CACHE_TXSAVE |
static int |
CACHE_VERSION |
static java.util.regex.Pattern |
COLUMN_DSL |
static ConfigureInfo |
CONFIG |
static java.lang.String |
EMPTY_STRING |
static org.apache.log4j.Logger |
log |
static int |
MAX_MEASUREMENTS |
static int |
MIN_MEASUREMENTS |
static java.util.regex.Pattern |
NUM_WITH_UNIT_RE |
static int |
RETURN_BIG_DECIMAL |
static int |
RETURN_BILD |
static int |
RETURN_FORMATTED_STRING |
static int |
RETURN_OBJECT |
static int |
RETURN_TO_STRING |
static int |
SORT_ASC |
static int |
SORT_DESC |
static int |
SORT_NEVER |
static int |
SORT_NONE |
ALL_ACTIONS, AVAILABLE_ACTION_KIND, CONTEXTMENU_ACTION_KIND, LOCAL_ACTION_KIND, MENU_ACTION_KIND, NO_LOCAL_ACTION_KIND, NO_TOPMDI_ONLY_ACTION_KIND, NOT_AVAILABLE_ACTION_KIND, REFRESH_FROM_TRANSACTION, REFRESH_FROM_USER, SHORTCUT_ACTION_KIND, TOOLBAR_ACTION_KIND, TOPMDI_ONLY_ACTION_KIND
Constructor and Description |
---|
FTableColumn() |
Modifier and Type | Method and Description |
---|---|
void |
addFormElementListener(FormElementListenerI f) |
void |
afterSave() |
void |
afterSetValue(java.lang.Object old,
java.lang.Object $new) |
void |
beforeSave() |
void |
beforeSetValue(java.lang.Object old,
java.lang.Object $new) |
void |
bumpIndexAfterPrepend()
Increases the internal column index by one, used only if a new column was inserted before this programatically
|
void |
close() |
void |
configure(electric.xml.Element _element,
FTableConfigurationI _conf,
int _index) |
void |
configure(java.lang.String def,
FTableConfigurationI _conf,
int _index,
electric.xml.Element defDom) |
void |
configureDefaultSorting(EntityI entity) |
AnnotatedValue |
delayedRefresh(java.util.concurrent.Future fut,
BO bo,
de.ipcon.form.table.FTableColumn.CachedCell cc,
int row,
java.lang.Object nullValue,
boolean ignoreVisibility) |
void |
flushCaches() |
java.util.LinkedHashMap |
getActions() |
java.util.LinkedHashMap |
getActionsOfKind(int kind) |
java.awt.Color |
getAlternateCellBackground() |
java.awt.Color |
getAlternateCellForeground() |
AnnotatedValue |
getAnnotatedValue(int row,
BO bo,
java.lang.Object nullValue,
boolean ignoreVisibility,
boolean forceSync) |
AnnotatedValue |
getAnnotatedValue(int row,
BO bo,
java.lang.Object nullValue,
boolean ignoreVisibility,
boolean forceSync,
int maxMicrosToAsync) |
java.lang.Object |
getAnnotatedValueOrFuture(int row,
BO bo,
java.lang.Object nullValue,
boolean ignoreVisibility,
boolean forceSync,
int maxMicrosToAsync) |
java.util.HashMap |
getAttributeMap() |
CBOAttributeTypeI |
getAttributeType() |
java.awt.Color |
getCellBackground() |
java.awt.Color |
getCellForeground() |
FTableConfigurationI |
getConf() |
electric.xml.Element |
getConfRoot() |
ClientContextI |
getCtx() |
java.lang.String |
getDebugName() |
java.util.concurrent.ConcurrentSkipListMap |
getDelayedRefreshCache() |
java.lang.String |
getDisplayFormat() |
java.lang.String |
getDisplayProperty() |
java.lang.Class |
getDisplayType() |
electric.xml.Element |
getElement() |
java.util.HashMap |
getElementMap() |
FormContextI |
getFtx() |
java.util.concurrent.Future<AnnotatedValue> |
getFutureAnnotatedValueForExport(int row,
BO bo) |
javax.swing.table.TableCellRenderer |
getHeaderRenderer() |
int |
getIndex() |
java.lang.Integer |
getJustification() |
int |
getMeanEvaluationTimeMeasurements() |
int |
getMeanEvaluationTimeMicros() |
java.lang.String |
getName() |
javax.swing.table.TableCellRenderer |
getRenderer() |
SchemaI |
getSchema() |
AbstractScript |
getScript() |
int |
getSort() |
int |
getSortLevel() |
java.lang.Integer |
getStyle() |
java.lang.String |
getTitle() |
java.lang.String |
getToolTipFormat() |
java.lang.String |
getToolTipText(java.lang.Object o)
Renders and possibly caches the tooltip-text to be shown for that object
|
java.lang.String |
getToolTipText(java.lang.Object o,
boolean nocaching) |
int |
getTotalEvaluationTimeMeasured() |
java.lang.String |
getUnitText() |
java.lang.Integer |
getVAlign() |
java.lang.String |
getValueAsString(java.lang.Object o)
Wird vom FTableColumnRenderer benutzt, um den Text in der Zelle zu kriegen.
|
java.lang.String |
getValueAsString(java.lang.Object o,
boolean nocaching) |
AnnotatedValue |
getValueFromObject(java.lang.Object o,
java.lang.Object nullValue) |
java.lang.String |
getValueFromObjectAsString(java.lang.Object o) |
java.lang.String |
getValueFromObjectAsString(java.lang.Object o,
boolean nocaching) |
java.lang.Integer |
getWidth() |
java.lang.String |
getWidthArg() |
void |
handleAttributes(java.util.HashMap m) |
void |
handleCachingA(java.lang.String a) |
boolean |
handleElement(java.util.HashMap m,
electric.xml.Element el) |
void |
handleElements(java.util.HashMap m,
boolean subs) |
void |
handleHeaderRendererClassA(java.lang.String _val) |
void |
handleHeaderRendererE(electric.xml.Element _el) |
void |
handleJustificationA(java.lang.String a) |
FormElementI |
handleNewElement(electric.xml.Element e) |
javax.swing.table.TableCellRenderer |
handleRendererClass(java.lang.String _val) |
void |
handleRendererClassA(java.lang.String _val)
Inits and sets special cell renderer class if the column configuration
requests one.
|
void |
handleRendererE(electric.xml.Element _el)
Inits and sets special cell rendering code if the column configuration
provides such.
|
void |
handleScriptElement(electric.xml.Element el) |
void |
handleSortA(java.lang.String a) |
void |
handleStyleA(java.lang.String a) |
void |
handleVAlignA(java.lang.String a) |
void |
handleWidthA(java.lang.String arg) |
boolean |
isAsync() |
boolean |
isCaching() |
boolean |
isClosed() |
boolean |
isDebug() |
boolean |
isDeferredRendering() |
boolean |
isEditable() |
boolean |
isFormatModel() |
boolean |
isGUIBuilt() |
boolean |
isInputPossible() |
boolean |
isShown() |
boolean |
isSlow() |
boolean |
isSorting() |
boolean |
isVirtual() |
void |
mdiActivate(MDIElementI me) |
void |
mdiClose(MDIElementI me) |
void |
mdiDeactivate(MDIElementI me) |
void |
mdiOpen(MDIElementI me) |
void |
postInit() |
void |
postRefresh() |
void |
postRefresh(int from) |
void |
refresh() |
void |
refresh(int from) |
void |
removeFormElementListener(FormElementListenerI f) |
void |
requestFocus() |
AnnotatedValue |
return_BigDecimal(java.lang.Object o) |
AnnotatedValue |
return_Bild(java.lang.Object o)
returns a Bild object at bo.property.
|
AnnotatedValue |
return_formattedString(java.lang.Object o)
Returns the value of the attribute (display)Propery of the given object o
as String formatted as given by format, or just the toString()
of the resulting value should it not be a BO.
|
void |
setAlternateCellBackground(java.awt.Color c) |
void |
setAlternateCellForeground(java.awt.Color c) |
void |
setAsync(boolean $50) |
void |
setCellBackground(java.awt.Color c) |
void |
setCellForeground(java.awt.Color c) |
void |
setConf(FTableConfigurationI $46) |
void |
setDebug(boolean $49) |
void |
setDefaultJustification(java.lang.String just) |
void |
setDeferredRendering(boolean $52) |
void |
setDelayedRefreshCache(java.util.concurrent.ConcurrentSkipListMap $55) |
void |
setDisplayFormat(java.lang.String $35) |
void |
setDisplayProperty(java.lang.String $34) |
void |
setDisplayType(java.lang.Class $47) |
boolean |
setEditable(boolean b) |
void |
setElement(electric.xml.Element $45) |
void |
setFormat(java.lang.String s) |
void |
setFormatModel(boolean $48) |
void |
setHeaderRenderer(javax.swing.table.TableCellRenderer $54) |
void |
setJustification(java.lang.Integer $42) |
void |
setMeanEvaluationTimeMeasurements(int $57) |
void |
setMeanEvaluationTimeMicros(int $56) |
void |
setProperty(java.lang.String s) |
void |
setRenderer(javax.swing.table.TableCellRenderer $53) |
void |
setSort(int $43) |
void |
setSortLevel(int $44) |
void |
setStyle(java.lang.Integer $41) |
void |
setTitle(java.lang.String $37) |
void |
setToolTipFormat(java.lang.String $36) |
void |
setTotalEvaluationTimeMeasured(int $58) |
void |
setVAlign(java.lang.Integer $40) |
void |
setVirtual(boolean $51) |
void |
setWidth(java.lang.Integer $38) |
void |
setWidthArg(java.lang.String $39) |
void |
sync() |
java.lang.String |
toString() |
boolean |
willCareForChildActions() |
boolean |
willCareForChildRefresh() |
public static final org.apache.log4j.Logger log
public static final int SORT_NEVER
public static final int SORT_NONE
public static final int SORT_ASC
public static final int SORT_DESC
public static final int CACHE_NEVER
public static final int CACHE_VERSION
public static final int CACHE_TXSAVE
public static final int RETURN_OBJECT
public static final int RETURN_TO_STRING
public static final int RETURN_FORMATTED_STRING
public static final int RETURN_BILD
public static final int RETURN_BIG_DECIMAL
public static final ConfigureInfo CONFIG
public static final java.util.regex.Pattern COLUMN_DSL
public static final java.lang.String EMPTY_STRING
public static final java.util.regex.Pattern NUM_WITH_UNIT_RE
public static final int MIN_MEASUREMENTS
public static final int MAX_MEASUREMENTS
public java.lang.String getName()
getName
in interface FormElementI
public java.lang.String getDebugName()
getDebugName
in interface FormElementI
public void close()
close
in interface FormElementI
public void configure(java.lang.String def, FTableConfigurationI _conf, int _index, electric.xml.Element defDom)
public void configure(electric.xml.Element _element, FTableConfigurationI _conf, int _index)
public void postInit()
postInit
in interface FormElementI
public void handleRendererClassA(java.lang.String _val)
public void handleHeaderRendererClassA(java.lang.String _val)
public javax.swing.table.TableCellRenderer handleRendererClass(java.lang.String _val)
public void handleScriptElement(electric.xml.Element el)
public AbstractScript getScript()
public void handleRendererE(electric.xml.Element _el)
public void handleHeaderRendererE(electric.xml.Element _el)
public void handleWidthA(java.lang.String arg)
public java.lang.Integer getWidth()
public CBOAttributeTypeI getAttributeType()
public boolean isSlow()
public boolean isSorting()
public void configureDefaultSorting(EntityI entity)
public void setCellBackground(java.awt.Color c)
public void setAlternateCellBackground(java.awt.Color c)
public java.awt.Color getCellBackground()
public java.awt.Color getAlternateCellBackground()
public void setCellForeground(java.awt.Color c)
public void setAlternateCellForeground(java.awt.Color c)
public java.awt.Color getCellForeground()
public java.awt.Color getAlternateCellForeground()
public void bumpIndexAfterPrepend()
public int getIndex()
public void handleStyleA(java.lang.String a)
public void handleJustificationA(java.lang.String a)
public void handleVAlignA(java.lang.String a)
public void handleSortA(java.lang.String a)
public void handleCachingA(java.lang.String a)
public boolean isCaching()
public void setDefaultJustification(java.lang.String just)
public void setProperty(java.lang.String s)
public void setFormat(java.lang.String s)
public AnnotatedValue getAnnotatedValue(int row, BO bo, java.lang.Object nullValue, boolean ignoreVisibility, boolean forceSync)
public AnnotatedValue getAnnotatedValue(int row, BO bo, java.lang.Object nullValue, boolean ignoreVisibility, boolean forceSync, int maxMicrosToAsync)
public java.util.concurrent.Future<AnnotatedValue> getFutureAnnotatedValueForExport(int row, BO bo)
public java.lang.Object getAnnotatedValueOrFuture(int row, BO bo, java.lang.Object nullValue, boolean ignoreVisibility, boolean forceSync, int maxMicrosToAsync)
public void flushCaches()
public AnnotatedValue delayedRefresh(java.util.concurrent.Future fut, BO bo, de.ipcon.form.table.FTableColumn.CachedCell cc, int row, java.lang.Object nullValue, boolean ignoreVisibility)
public AnnotatedValue getValueFromObject(java.lang.Object o, java.lang.Object nullValue)
public AnnotatedValue return_formattedString(java.lang.Object o)
public AnnotatedValue return_Bild(java.lang.Object o)
public AnnotatedValue return_BigDecimal(java.lang.Object o)
public java.lang.String getToolTipText(java.lang.Object o)
public java.lang.String getToolTipText(java.lang.Object o, boolean nocaching)
public java.lang.String getValueAsString(java.lang.Object o)
public java.lang.String getValueAsString(java.lang.Object o, boolean nocaching)
public java.lang.String getValueFromObjectAsString(java.lang.Object o)
public java.lang.String getValueFromObjectAsString(java.lang.Object o, boolean nocaching)
public java.lang.String getUnitText()
public javax.swing.table.TableCellRenderer getRenderer()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean setEditable(boolean b)
setEditable
in interface FormElementI
public boolean isEditable()
isEditable
in interface FormElementI
public void mdiOpen(MDIElementI me)
mdiOpen
in interface FormElementI
public void mdiClose(MDIElementI me)
mdiClose
in interface FormElementI
public void mdiActivate(MDIElementI me)
mdiActivate
in interface FormElementI
public void mdiDeactivate(MDIElementI me)
mdiDeactivate
in interface FormElementI
public boolean willCareForChildRefresh()
willCareForChildRefresh
in interface FormElementI
public boolean willCareForChildActions()
willCareForChildActions
in interface FormElementI
public boolean isGUIBuilt()
isGUIBuilt
in interface FormElementI
public void refresh()
refresh
in interface FormElementI
public void refresh(int from)
refresh
in interface FormElementI
public void postRefresh()
public void postRefresh(int from)
postRefresh
in interface FormElementI
public void sync()
sync
in interface FormElementI
public void beforeSave()
beforeSave
in interface FormElementI
public void afterSave()
afterSave
in interface FormElementI
public void beforeSetValue(java.lang.Object old, java.lang.Object $new)
beforeSetValue
in interface FormElementI
public void afterSetValue(java.lang.Object old, java.lang.Object $new)
afterSetValue
in interface FormElementI
public boolean isShown()
isShown
in interface FormElementI
public boolean isInputPossible()
isInputPossible
in interface FormElementI
public void requestFocus()
requestFocus
in interface FormElementI
public boolean isClosed()
isClosed
in interface FormElementI
public electric.xml.Element getConfRoot()
getConfRoot
in interface FormElementI
public void handleAttributes(java.util.HashMap m)
handleAttributes
in interface FormElementI
public boolean handleElement(java.util.HashMap m, electric.xml.Element el)
handleElement
in interface FormElementI
public void handleElements(java.util.HashMap m, boolean subs)
handleElements
in interface FormElementI
public FormElementI handleNewElement(electric.xml.Element e)
handleNewElement
in interface FormElementI
public FormContextI getFtx()
getFtx
in interface FormElementI
public ClientContextI getCtx()
getCtx
in interface FormElementI
public SchemaI getSchema()
getSchema
in interface FormElementI
public java.util.LinkedHashMap getActions()
getActions
in interface FormElementI
public java.util.LinkedHashMap getActionsOfKind(int kind)
getActionsOfKind
in interface FormElementI
public java.util.HashMap getElementMap()
getElementMap
in interface FormElementI
public java.util.HashMap getAttributeMap()
getAttributeMap
in interface FormElementI
public void addFormElementListener(FormElementListenerI f)
addFormElementListener
in interface FormElementI
public void removeFormElementListener(FormElementListenerI f)
removeFormElementListener
in interface FormElementI
public java.lang.String getDisplayProperty()
getDisplayProperty
in interface FormElementWithDisplayPropertyI
public void setDisplayProperty(java.lang.String $34)
public java.lang.String getDisplayFormat()
public void setDisplayFormat(java.lang.String $35)
public java.lang.String getToolTipFormat()
public void setToolTipFormat(java.lang.String $36)
public java.lang.String getTitle()
public void setTitle(java.lang.String $37)
public void setWidth(java.lang.Integer $38)
public java.lang.String getWidthArg()
public void setWidthArg(java.lang.String $39)
public java.lang.Integer getVAlign()
public void setVAlign(java.lang.Integer $40)
public java.lang.Integer getStyle()
public void setStyle(java.lang.Integer $41)
public java.lang.Integer getJustification()
public void setJustification(java.lang.Integer $42)
public int getSort()
public void setSort(int $43)
public int getSortLevel()
public void setSortLevel(int $44)
public electric.xml.Element getElement()
public void setElement(electric.xml.Element $45)
public FTableConfigurationI getConf()
public void setConf(FTableConfigurationI $46)
public java.lang.Class getDisplayType()
public void setDisplayType(java.lang.Class $47)
public boolean isFormatModel()
public void setFormatModel(boolean $48)
public boolean isDebug()
isDebug
in interface FormElementI
public void setDebug(boolean $49)
public boolean isAsync()
public void setAsync(boolean $50)
public boolean isVirtual()
public void setVirtual(boolean $51)
public boolean isDeferredRendering()
public void setDeferredRendering(boolean $52)
public void setRenderer(javax.swing.table.TableCellRenderer $53)
public javax.swing.table.TableCellRenderer getHeaderRenderer()
public void setHeaderRenderer(javax.swing.table.TableCellRenderer $54)
public java.util.concurrent.ConcurrentSkipListMap getDelayedRefreshCache()
public void setDelayedRefreshCache(java.util.concurrent.ConcurrentSkipListMap $55)
public int getMeanEvaluationTimeMicros()
public void setMeanEvaluationTimeMicros(int $56)
public int getMeanEvaluationTimeMeasurements()
public void setMeanEvaluationTimeMeasurements(int $57)
public int getTotalEvaluationTimeMeasured()
public void setTotalEvaluationTimeMeasured(int $58)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.