|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CalculatedItemListInterface
Description: Interface to a list of calculated items Copyright: Copyright (c) 2002 Company: SAS
Method Summary | |
---|---|
boolean |
addCalculatedItem(CalculatedItemInterface value)
adds to the end of the list (cursor position undefined after an add) |
boolean |
canRemoveAllCalculatedItems()
returns true if the list can be empty upon commit and false if at least one item must exist |
void |
clearSelectionCursor()
resets the selection cursor so that the isCalculatedItemSelected() call returns false |
boolean |
commitChanges()
Commit changed data |
java.util.List |
getCalculatedItemList()
get the list of filter test nodes |
java.lang.String |
getDescription()
Gets the description of this calculated item list. |
FormatAdapterInterface |
getFormatAdapter()
returns the format adapter |
int |
getMaxLengthOfItemName()
returns the maximum length of the name of a calculated item |
java.lang.String |
getName()
Gets the name of this calculated item list. |
CalculatedItemInterface |
getSelectedCalculatedItem()
Get the CalculatedItemInterface of the current selection |
int |
getSelectionCount()
get the number of selectable entries in the model |
int |
getSelectionCursor()
get the index of the selection model cursor |
boolean |
isCalculatedItemSelected()
true if there is a selected calculated item |
CalculatedItemInterface |
newCalculatedItem()
creates a new CalculatedItemInterface that is not persisted or added to the list yet |
CalculatedItemInterface |
newCalculatedItem(CalculatedItemInterface toBeCloned)
creates a clone of a CalculatedItemInterface that is not persisted or added to the list yet |
void |
removeAllCalculatedItems()
removes all of the items from the List |
void |
removeSelectedCalculatedItem()
removes the current selection from the List (cursor position is undefined after remove) Calculated Items are not fully removed from presistance until the commit call is made. |
void |
setDescription(java.lang.String description)
Sets the description of this calculated item list. |
void |
setName(java.lang.String name)
Sets the name of this calculated item list. |
void |
setSelectionCursor(int index)
move the selection model cursor to a new selection index |
void |
updateSelectedCalculatedItem(CalculatedItemInterface value)
Update the CalculatedItemInterface of the current selection |
Methods inherited from interface com.sas.dataselectors.calculateditems.CalculatedItemMetadataInterface |
---|
getBusinessDataSourceTree, getDataSourceTree, getFunctionListTree, getLevelHasMembers, getLevelNameMap, getLevelNames, getMaxOutputObservations, getMeasureNameMap, getMeasureNames, getMemberNames, getOperationList, getPhysicalDataSourceTree, getPromptDataSourceTree, setMaxOutputObservations |
Method Detail |
---|
java.lang.String getName()
void setName(java.lang.String name)
name
- the name of this calculated item listjava.lang.String getDescription()
void setDescription(java.lang.String description)
description
- the description of this calculated item listjava.util.List getCalculatedItemList()
boolean commitChanges()
void removeAllCalculatedItems()
boolean addCalculatedItem(CalculatedItemInterface value)
CalculatedItemInterface
-
CalculatedItemInterface newCalculatedItem()
CalculatedItemInterface newCalculatedItem(CalculatedItemInterface toBeCloned)
void clearSelectionCursor()
boolean isCalculatedItemSelected()
int getSelectionCount()
int getSelectionCursor()
void setSelectionCursor(int index)
int
- the 0 based index in the list to be the new selectionCalculatedItemInterface getSelectedCalculatedItem()
void updateSelectedCalculatedItem(CalculatedItemInterface value)
void removeSelectedCalculatedItem()
boolean canRemoveAllCalculatedItems()
FormatAdapterInterface getFormatAdapter()
int getMaxLengthOfItemName()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |