|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jaxfront.core.xui.ColumnInfo
public class ColumnInfo
A lineInfo holds information how to display a row/column within a JTable.
FlipOrientationTableModel,
Serialized Form| Field Summary | |
|---|---|
static int |
ALIGN_BOTTOM
|
static int |
ALIGN_CENTER
|
static int |
ALIGN_LEFT
|
static int |
ALIGN_MIDDLE
|
static int |
ALIGN_RIGHT
|
static int |
ALIGN_TOP
|
| Constructor Summary | |
|---|---|
ColumnInfo(Type holder,
int index,
java.lang.String name)
Create a line info by name only.Used when constructing a "default" table info |
|
ColumnInfo(Type holder,
int index,
java.lang.String name,
java.lang.String formulaExpression)
Create a line info by name only. |
|
ColumnInfo(Type holder,
int index,
java.lang.String name,
java.lang.String formulaExpression,
java.lang.String iconExpression,
int lineWidth,
boolean allowContextNavigation,
boolean editorAlwaysVisible,
java.lang.String contextFormExType)
Main constructor using |
|
ColumnInfo(Type holder,
int index,
java.lang.String name,
java.lang.String formulaExpression,
java.lang.String iconExpression,
int lineWidth,
boolean allowContextNavigation,
boolean editorAlwaysVisible,
java.lang.String contextFormExType,
int hAlign,
int vAlign,
java.lang.String cssHeaderStyle,
java.lang.String cssStyle)
Main constructor using |
|
| Method Summary | |
|---|---|
void |
addFormulaExpression(FormulaExpression aFormulaExpression)
|
boolean |
allowContextNavigation()
|
ColumnInfo |
copy(Type type)
|
java.lang.Object |
evalFormulaObject(int index)
Evaluate the formula expression for a certain column (index). |
java.lang.Object |
getCachedValue(int index)
|
FormulaExpression |
getContextFormulaExpression()
|
java.lang.String |
getCSSHeaderStyle()
|
java.lang.String |
getCSSStyle()
|
java.lang.String |
getFormulaExpression()
|
java.util.Vector |
getFormulaExpressions()
|
java.lang.String |
getHAlign()
|
java.lang.String |
getHAlignHeader()
|
Type |
getHolder()
|
int |
getHorizontalAlign()
|
java.lang.String |
getIconExpression()
|
java.util.Vector |
getIconExpressions()
|
int |
getLineWidth()
Return the line's width. |
java.lang.String |
getName()
Get the name of the lineInfo. |
java.lang.String |
getNamePDF()
|
java.lang.String |
getToolTip(Type currentType)
Returns the NLS Tooltip text for the given list item type. |
java.lang.String |
getVAlign()
|
java.lang.String |
getVAlignHeader()
|
int |
getVerticalAlign()
|
boolean |
isEditorAlwaysVisible()
|
boolean |
isUsingDefaultRendering()
|
boolean |
isXUIcontrolled()
If the line info was created as default, ie without xuiType, false is returned, otherwise true. |
void |
reset()
|
void |
setCSSHeaderStyle(java.lang.String cssStyle)
|
void |
setCSSStyle(java.lang.String cssStyle)
|
void |
setFormulaExpressions(java.util.Vector new_formulaExpressions)
|
void |
setHorizontalAlign(int align)
|
void |
setIconExpressions(java.util.Vector iconExpressions)
|
void |
setLineWidth(int lineWidth)
|
void |
setUsingDefaultRendering(boolean new_isUsingDefaultRendering)
|
void |
setVerticalAlign(int align)
|
void |
swapFormula(int from,
int to)
|
java.lang.String |
toString()
|
void |
updateLine(Type type,
long modus)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int ALIGN_BOTTOM
public static final int ALIGN_CENTER
public static final int ALIGN_LEFT
public static final int ALIGN_MIDDLE
public static final int ALIGN_RIGHT
public static final int ALIGN_TOP
| Constructor Detail |
|---|
public ColumnInfo(Type holder,
int index,
java.lang.String name)
public ColumnInfo(Type holder,
int index,
java.lang.String name,
java.lang.String formulaExpression)
public ColumnInfo(Type holder,
int index,
java.lang.String name,
java.lang.String formulaExpression,
java.lang.String iconExpression,
int lineWidth,
boolean allowContextNavigation,
boolean editorAlwaysVisible,
java.lang.String contextFormExType)
name - The "name" of the line InfoxuiType - The XUI Type that will influence the FormulaExpression used for evaluating this line via XPathlineWidth - The width the line should haveallowContextNavigation - defines if the column/row allows context navigation (used for key/keyRef relationships)contextFormExType - a xui type that represents a formula expression for the contextView displayed in the current column/row
public ColumnInfo(Type holder,
int index,
java.lang.String name,
java.lang.String formulaExpression,
java.lang.String iconExpression,
int lineWidth,
boolean allowContextNavigation,
boolean editorAlwaysVisible,
java.lang.String contextFormExType,
int hAlign,
int vAlign,
java.lang.String cssHeaderStyle,
java.lang.String cssStyle)
name - The "name" of the line InfoxuiType - The XUI Type that will influence the FormulaExpression used for evaluating this line via XPathlineWidth - The width the line should haveallowContextNavigation - defines if the column/row allows context navigation (used for key/keyRef relationships)contextFormExType - a xui type that represents a formula expression for the contextView displayed in the current column/row| Method Detail |
|---|
public void addFormulaExpression(FormulaExpression aFormulaExpression)
public boolean allowContextNavigation()
public ColumnInfo copy(Type type)
public java.lang.Object evalFormulaObject(int index)
index - columnpublic java.lang.Object getCachedValue(int index)
public FormulaExpression getContextFormulaExpression()
public java.lang.String getCSSHeaderStyle()
public java.lang.String getCSSStyle()
public java.lang.String getFormulaExpression()
public java.util.Vector getFormulaExpressions()
public java.lang.String getHAlign()
public java.lang.String getHAlignHeader()
public Type getHolder()
public int getHorizontalAlign()
public java.lang.String getIconExpression()
public java.util.Vector getIconExpressions()
public int getLineWidth()
public java.lang.String getName()
public java.lang.String getNamePDF()
public java.lang.String getToolTip(Type currentType)
currentType - a given list item type
public java.lang.String getVAlign()
public java.lang.String getVAlignHeader()
public int getVerticalAlign()
public boolean isEditorAlwaysVisible()
public boolean isUsingDefaultRendering()
public boolean isXUIcontrolled()
public void reset()
public void setCSSHeaderStyle(java.lang.String cssStyle)
public void setCSSStyle(java.lang.String cssStyle)
public void setFormulaExpressions(java.util.Vector new_formulaExpressions)
public void setHorizontalAlign(int align)
public void setIconExpressions(java.util.Vector iconExpressions)
public void setLineWidth(int lineWidth)
public void setUsingDefaultRendering(boolean new_isUsingDefaultRendering)
public void setVerticalAlign(int align)
public void swapFormula(int from,
int to)
public java.lang.String toString()
toString in class java.lang.Object
public void updateLine(Type type,
long modus)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||