|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.dataselectors.exceptionhighlighting.BaseExceptionHighlightingSelectorAdapter
public abstract class BaseExceptionHighlightingSelectorAdapter
Base class that contains attributes and methods common to the different Exception Highlighting Selector adapters.
| Nested Class Summary | |
|---|---|
class |
BaseExceptionHighlightingSelectorAdapter.KeyValueItem
|
| Field Summary | |
|---|---|
protected boolean |
addAutomaticToFontInfo
|
protected boolean |
isOLAP
|
protected java.util.Locale |
locale
|
protected java.lang.String |
RB_KEY
|
protected java.util.Map |
rules
|
| Fields inherited from interface com.sas.dataselectors.exceptionhighlighting.ExceptionHighlightingSelectorInterface |
|---|
AUTOMATIC, CONDITION_BETWEEN, CONDITION_EQUAL, CONDITION_GREATER_THAN, CONDITION_GREATER_THAN_OR_EQUAL, CONDITION_LESS_THAN, CONDITION_LESS_THAN_OR_EQUAL, CONDITION_MISSING_VALUE, CONDITION_NOT_EQUAL |
| Fields inherited from interface com.sas.dataselectors.SelectorCommitInterface |
|---|
EXCEPTION_OCCURRED |
| Constructor Summary | |
|---|---|
BaseExceptionHighlightingSelectorAdapter()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
addRule(ExceptionHighlightingRuleInterface rule)
Add a rule |
java.util.List |
getColors()
Return a Collection of supported colors which can be applied for a rule |
java.lang.String |
getDefaultFont()
|
java.lang.String |
getDefaultFontSize()
|
java.util.List |
getFonts()
Return a List of fonts |
java.util.List |
getFontSizes()
Return a Collection of font sizes |
java.util.List |
getImages()
Return a Collection of images to enhance highlighting |
javax.swing.tree.TreeModel |
getLevelTreeModel()
Returns the tree model to display list of levels(olap) |
java.util.Locale |
getLocale()
|
java.util.Map |
getResultItemMap()
Returns the list of data items contained in the result item list. |
java.util.List |
getResultItems()
Returns the list of data items contained in the result item list. |
java.util.Map |
getRules()
Return a map of rules |
java.util.Map |
getSupportedConditions()
Return a map of Conditions which can be applied in a rule |
boolean |
isAddAutomaticToFontInfo()
Return a boolean indicating whether the Automatic option should automatically be added to the font name and font size. |
boolean |
isCompleteImagePath()
Return a boolean indicating whether the images returned from getImages are complete paths or need to be located |
boolean |
isOLAP()
Returns true if the data source for this adapter is OLAP based. |
void |
removeRule(java.lang.String ruleId)
Remove rule |
void |
setAddAutomaticToFontInfo(boolean addAutomaticToFontInfo)
set a boolean indicating whether the Automatic option should automatically be added to the font name and font size |
void |
setLocale(java.util.Locale locale)
|
| Methods inherited from interface com.sas.dataselectors.exceptionhighlighting.ExceptionHighlightingSelectorInterface |
|---|
getMeasureNames, getModel, setModel |
| Methods inherited from interface com.sas.dataselectors.SelectorProcessInterface |
|---|
process |
| Methods inherited from interface com.sas.dataselectors.SelectorCommitInterface |
|---|
commit, getPropertiesBean |
| Field Detail |
|---|
protected java.lang.String RB_KEY
protected java.util.Locale locale
protected boolean isOLAP
protected java.util.Map rules
protected boolean addAutomaticToFontInfo
| Constructor Detail |
|---|
public BaseExceptionHighlightingSelectorAdapter()
| Method Detail |
|---|
public java.util.Map getSupportedConditions()
ExceptionHighlightingSelectorInterface
getSupportedConditions in interface ExceptionHighlightingSelectorInterfacepublic java.util.Map getRules()
getRules in interface ExceptionHighlightingSelectorInterfacepublic void addRule(ExceptionHighlightingRuleInterface rule)
addRule in interface ExceptionHighlightingSelectorInterfacepublic void removeRule(java.lang.String ruleId)
removeRule in interface ExceptionHighlightingSelectorInterfacepublic java.util.List getColors()
ExceptionHighlightingSelectorInterface
getColors in interface ExceptionHighlightingSelectorInterfacepublic java.util.List getFontSizes()
ExceptionHighlightingSelectorInterface
getFontSizes in interface ExceptionHighlightingSelectorInterfacepublic java.util.List getFonts()
ExceptionHighlightingSelectorInterface
getFonts in interface ExceptionHighlightingSelectorInterfacepublic javax.swing.tree.TreeModel getLevelTreeModel()
ExceptionHighlightingSelectorInterface
getLevelTreeModel in interface ExceptionHighlightingSelectorInterfacepublic java.util.List getImages()
ExceptionHighlightingSelectorInterface
getImages in interface ExceptionHighlightingSelectorInterfacepublic boolean isOLAP()
ExceptionHighlightingSelectorInterface
isOLAP in interface ExceptionHighlightingSelectorInterfacepublic boolean isCompleteImagePath()
ExceptionHighlightingSelectorInterface
isCompleteImagePath in interface ExceptionHighlightingSelectorInterfacepublic boolean isAddAutomaticToFontInfo()
ExceptionHighlightingSelectorInterface
isAddAutomaticToFontInfo in interface ExceptionHighlightingSelectorInterfacepublic void setAddAutomaticToFontInfo(boolean addAutomaticToFontInfo)
ExceptionHighlightingSelectorInterface
setAddAutomaticToFontInfo in interface ExceptionHighlightingSelectorInterfacepublic java.util.Locale getLocale()
getLocale in interface ExceptionHighlightingSelectorInterfacepublic void setLocale(java.util.Locale locale)
setLocale in interface ExceptionHighlightingSelectorInterfacepublic java.lang.String getDefaultFont()
getDefaultFont in interface ExceptionHighlightingSelectorInterfacepublic java.lang.String getDefaultFontSize()
getDefaultFontSize in interface ExceptionHighlightingSelectorInterfacepublic java.util.List getResultItems()
ExceptionHighlightingSelectorInterface
getResultItems in interface ExceptionHighlightingSelectorInterfacepublic java.util.Map getResultItemMap()
ExceptionHighlightingSelectorInterface
getResultItemMap in interface ExceptionHighlightingSelectorInterface
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||