wt.clients.csm.widgets
Class IBAHoldersToTableVector
java.lang.Object
wt.clients.csm.widgets.IBAHoldersToTableVector
- public class IBAHoldersToTableVector
- extends Object
Constructor Summary |
IBAHoldersToTableVector(QueryResultsIBAHolder[] holders,
Vector attributes,
MeasurementSystemDefaultView ms,
String targetClassName,
int start)
|
IBAHoldersToTableVector(Vector vectorOfHolders,
MeasurementSystemDefaultView ms,
String targetClassName,
int start)
|
IBAHoldersToTableVector(Vector vectorOfHolders,
Vector attributes,
MeasurementSystemDefaultView ms,
String targetClassName,
int start)
|
IBAHoldersToTableVector(Vector vectorOfHolders,
Vector attributes,
MeasurementSystemDefaultView ms,
String targetClassName,
int start,
AbstractNavStructView structure)
|
IBAHoldersToTableVector(Vector vectorOfHolders,
Vector attributes,
MeasurementSystemDefaultView ms,
String targetClassName,
int start,
AbstractNavStructView structure,
RankingContextDefaultView rankingContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debug
private static boolean debug
CONSTRAINT_MAPPER_RESOURCE
private String CONSTRAINT_MAPPER_RESOURCE
WIDGETS_RESOURCE
private String WIDGETS_RESOURCE
RANKING_VALUE_KEY_PATTERN
private static final String RANKING_VALUE_KEY_PATTERN
- See Also:
- Constant Field Values
RANKING_CONTEXT_KEY_PATTERN
private static final String RANKING_CONTEXT_KEY_PATTERN
- See Also:
- Constant Field Values
wresource
private ResourceBundle wresource
holders
private Vector holders
containers
private DefaultAttributeContainer[] containers
data
private Vector data
columnDefinitions
private Vector columnDefinitions
orderedAttributes
private Vector orderedAttributes
columnEmptyVector
private Vector columnEmptyVector
sortedColumns
private Vector sortedColumns
maxColumnWidth
private Vector maxColumnWidth
targetClassName
private String targetClassName
rankcol
private int rankcol
fmt
private FontMetrics fmt
fmh
private FontMetrics fmh
columnWidthPadding
private int columnWidthPadding
startCount
private int startCount
col1header
private String col1header
ms
MeasurementSystemDefaultView ms
structure
private AbstractNavStructView structure
currentContext
private RankingContextDefaultView currentContext
PART_ICON_WIDTH
public static final int PART_ICON_WIDTH
- See Also:
- Constant Field Values
IBAHoldersToTableVector
public IBAHoldersToTableVector(QueryResultsIBAHolder[] holders,
Vector attributes,
MeasurementSystemDefaultView ms,
String targetClassName,
int start)
IBAHoldersToTableVector
public IBAHoldersToTableVector(Vector vectorOfHolders,
Vector attributes,
MeasurementSystemDefaultView ms,
String targetClassName,
int start,
AbstractNavStructView structure,
RankingContextDefaultView rankingContext)
IBAHoldersToTableVector
public IBAHoldersToTableVector(Vector vectorOfHolders,
Vector attributes,
MeasurementSystemDefaultView ms,
String targetClassName,
int start,
AbstractNavStructView structure)
IBAHoldersToTableVector
public IBAHoldersToTableVector(Vector vectorOfHolders,
Vector attributes,
MeasurementSystemDefaultView ms,
String targetClassName,
int start)
IBAHoldersToTableVector
public IBAHoldersToTableVector(Vector vectorOfHolders,
MeasurementSystemDefaultView ms,
String targetClassName,
int start)
initResource
protected void initResource()
fillOrderedColumns
protected void fillOrderedColumns(Vector attributes)
insertFirstColumn
private void insertFirstColumn()
doConversion
private void doConversion()
getCurrentContextData
private Object getCurrentContextData(Vector v)
getDefinitionName
private String getDefinitionName(Object obj,
boolean exportflag)
getBooleanValue
private boolean getBooleanValue(int count)
removeEmptyOrderedColumns
private void removeEmptyOrderedColumns()
getColumnVector
public Vector getColumnVector()
getDataVector
public Vector getDataVector()
exportResults
public void exportResults(PrintWriter out)
exportHeader
private void exportHeader(PrintWriter out)
exportData
private void exportData(PrintWriter out)
getDisplayString
private String getDisplayString(Object obj)
getValueDisplayString
protected String getValueDisplayString(Object obj)
getColumnAttribute
public AttributeDefDefaultView getColumnAttribute(int index)
getRankingColumn
public int getRankingColumn()
findRankingColumn
public int findRankingColumn(String classname)
getAttributeDefDefaultViewByPath
public static AttributeDefDefaultView getAttributeDefDefaultViewByPath(String defPath)
getIBAHolder
public QueryResultsIBAHolder getIBAHolder(int row)
getIBAHolders
public Vector getIBAHolders(int[] rows)
getMaxValueWidth
private int getMaxValueWidth(Vector v)
getMaxColumnWidth
public Vector getMaxColumnWidth()
getValueWidth
private int getValueWidth(Object value)
addSortedValues
private void addSortedValues(Vector v,
AbstractValueView[] values,
boolean order)
findInsertPosition
private int findInsertPosition(Vector v,
AbstractValueView obj,
boolean order)
resultCount
public int resultCount()
printAllInfo
public void printAllInfo()
displayAllValues
private void displayAllValues(Object obj)
getRankingValueAttribute
public static String getRankingValueAttribute(String rankableClassname)
throws WTException
- Throws:
WTException
getRankingContextAttribute
public static String getRankingContextAttribute(String rankableClassname)
throws WTException
- Throws:
WTException
updateIBAHolderAtIndex
public void updateIBAHolderAtIndex(int index,
Object heavyObj)