|
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 |
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 ExceptionHighlightingSelectorInterface
public java.util.Map getRules()
getRules
in interface ExceptionHighlightingSelectorInterface
public void addRule(ExceptionHighlightingRuleInterface rule)
addRule
in interface ExceptionHighlightingSelectorInterface
public void removeRule(java.lang.String ruleId)
removeRule
in interface ExceptionHighlightingSelectorInterface
public java.util.List getColors()
ExceptionHighlightingSelectorInterface
getColors
in interface ExceptionHighlightingSelectorInterface
public java.util.List getFontSizes()
ExceptionHighlightingSelectorInterface
getFontSizes
in interface ExceptionHighlightingSelectorInterface
public java.util.List getFonts()
ExceptionHighlightingSelectorInterface
getFonts
in interface ExceptionHighlightingSelectorInterface
public javax.swing.tree.TreeModel getLevelTreeModel()
ExceptionHighlightingSelectorInterface
getLevelTreeModel
in interface ExceptionHighlightingSelectorInterface
public java.util.List getImages()
ExceptionHighlightingSelectorInterface
getImages
in interface ExceptionHighlightingSelectorInterface
public boolean isOLAP()
ExceptionHighlightingSelectorInterface
isOLAP
in interface ExceptionHighlightingSelectorInterface
public boolean isCompleteImagePath()
ExceptionHighlightingSelectorInterface
isCompleteImagePath
in interface ExceptionHighlightingSelectorInterface
public boolean isAddAutomaticToFontInfo()
ExceptionHighlightingSelectorInterface
isAddAutomaticToFontInfo
in interface ExceptionHighlightingSelectorInterface
public void setAddAutomaticToFontInfo(boolean addAutomaticToFontInfo)
ExceptionHighlightingSelectorInterface
setAddAutomaticToFontInfo
in interface ExceptionHighlightingSelectorInterface
public java.util.Locale getLocale()
getLocale
in interface ExceptionHighlightingSelectorInterface
public void setLocale(java.util.Locale locale)
setLocale
in interface ExceptionHighlightingSelectorInterface
public java.lang.String getDefaultFont()
getDefaultFont
in interface ExceptionHighlightingSelectorInterface
public java.lang.String getDefaultFontSize()
getDefaultFontSize
in interface ExceptionHighlightingSelectorInterface
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |