All Libraries | This Library | Package | Class | Use | Tree | Deprecated | Index | Grand Index | Help
|  | Components |
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sas.dataselectors.calculations.percent
Interface PercentCalculationsSelectorInterface

All Superinterfaces:
  SelectorCommitInterface

All Known Implementing Classes:
  BasePercentCalculationsSelectorAdapter, OLAPPercentCalculationsSelectorAdapter

    public interface PercentCalculationsSelectorInterface

extends SelectorCommitInterface

Defines methods and properties required for an adapter implementation of the percent of totals calculation selector.

Since:
  3.1.4
See Also:
  `PercentCalculationsSelector`, `PercentCalculationsSelectorPanel`

Field Summary

Fields inherited from interface com.sas.dataselectors.SelectorCommitInterface
`EXCEPTION_OCCURRED`

Method Summary
`java.util.Map` | `getDenominators()` Returns a map where the keys are the denominator ids and the the values are the denominator labels.
`java.util.List` | `getFractionalItems()` Returns a list of `FractionalItemInfo` objects representing the current set of fractional items.
`java.util.Locale` | `getLocale()` Returns the locale
`java.util.Map` | `getNumerators()` Returns a map where the keys are the numerator ids and the the values are the numerator labels.
`boolean` | `isOLAP()` Returns true if the data source is OLAP based.
`void` | `setFractionalItems(java.util.List items)` Sets the list of `FractionalItemInfo` objects that represent the new set of fractional items.
`void` | `setLocale(java.util.Locale locale)` Sets the locale

Methods inherited from interface com.sas.dataselectors.SelectorCommitInterface
`commit, getPropertiesBean`

Method Detail

### isOLAP

    boolean isOLAP()

  Returns true if the data source is OLAP based.

  Returns:
    TRUE if the data source is OLAP based

### getNumerators

    java.util.Map getNumerators()

  Returns a map where the keys are the numerator ids and the the values are the numerator labels.

  Returns:
    the map of numerator ids and labels.

### getDenominators

    java.util.Map getDenominators()

  Returns a map where the keys are the denominator ids and the the values are the denominator labels.

  Returns:
    the map of denominator ids and labels.

### getFractionalItems

    java.util.List getFractionalItems()

  Returns a list of `FractionalItemInfo` objects representing the current set of fractional items.

  Returns:
    a list of FractionalItemInfo objects representing the current set of fractional items.

### setFractionalItems

    void setFractionalItems(java.util.List items)

  Sets the list of `FractionalItemInfo` objects that represent the new set of fractional items.

### setLocale

    void setLocale(java.util.Locale locale)

  Sets the locale

  Parameters:
    `locale` - The locale.

### getLocale

    java.util.Locale getLocale()

  Returns the locale

  Returns:
    The locale.

All Libraries | This Library | Package | Class | Use | Tree | Deprecated | Index | Grand Index | Help
|  | Components |
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2009 SAS Institute Inc. All Rights Reserved.