|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.swing.visuals.olaptableview.OLAPDrillState
public class OLAPDrillState
Field Summary | |
---|---|
static java.lang.String |
RB_KEY
Key used to lookup resources in the resource bundle. |
Constructor Summary | |
---|---|
OLAPDrillState()
Constructs a default OLAPDrillState . |
Method Summary | |
---|---|
void |
contentsChanged(com.sas.collection.ContentsChangedEvent event)
Invoked when the OLAPDrillState receives a ContentsChangeEvent
from the action provider. |
protected void |
createLayout()
|
SwingActionProvider |
getActionProvider()
Returns the ActionProvider object |
java.lang.String |
getActionSupportType()
Return the key that associated with a particular support class in the ActionProvider framework. |
java.awt.Color |
getColor()
Returns the color for the OLAPDrillState drill state items text. |
protected void |
getDrillStateActions()
Invoked when the OLAPDrillState receives a ContentsChangeEvent
from the action provider, or when the action provider or model is set. |
static com.sas.beans.ExtendedBeanInfo |
getExtendedBeanInfo()
Returns information used by the com.sas.beans.Introspector to
augment the automatically introspected information about this OLAPDrillState. |
java.awt.Font |
getFont()
Returns the font for the drill state items text. |
java.awt.Color |
getLabelColor()
Returns the color for the OLAPDrillState drill state label. |
java.awt.Font |
getLabelFont()
Returns the font for the OLAPDrillState drill state label. |
int |
getLabelType()
Returns the type of label to display at the beginning of the drill state items. |
OLAPDataSetInterface |
getModel()
Return the model for the OLAPDtillState. |
java.lang.String |
getSeparator()
Returns the separator used in between the drilled member labels of the OLAPDrillState. |
java.awt.Color |
getSeparatorColor()
Returns the color of the text used as the separator between the drilled member labels of the OLAPDrillState. |
java.awt.Font |
getSeparatorFont()
Returns the font of the text used as the separator between the drilled member labels of the OLAPDrillState. |
java.lang.String |
getSeparatorImage()
Returns the separator image used in between the drilled member labels of the OLAPDrillState. |
java.lang.Object |
getUniqueId()
Returns the Viewer's uniqueId |
boolean |
isActionVisible(java.lang.String actionType,
java.lang.String areaType)
Returns a boolean indicating if the action type is visible everywhere in the specified areaType. |
java.util.Collection |
listActionTypes(java.lang.String areaType)
Returns a Collection of String keys that define the valid actionTypes for the specified area of the action support class designated the actionSupportType attribute. |
java.util.Collection |
listAreaTypes()
Returns a Collection of String keys that define the valid areaTypes for the action support class designated by the actionSupportType attribute. |
protected void |
refreshDrillStateView()
Updates the OLAPDrillState component. |
void |
setActionProvider(SwingActionProvider actionProvider)
Sets the ActionProvider object |
void |
setActionSupportType(java.lang.String actionSupportType)
Set the key that associated with a particular support class in the ActionProvider framework. |
void |
setActionVisible(java.lang.String actionType,
java.lang.String areaType,
boolean visible)
Sets the visible status of the specified actionType for the specified area. |
void |
setColor(java.awt.Color color)
Sets the color for the OLAPDrillState drill state items text. |
void |
setFont(java.awt.Font font)
Sets the font for the drill state items text. |
void |
setLabelColor(java.awt.Color labelColor)
Sets the color for the OLAPDrillState drill state label. |
void |
setLabelFont(java.awt.Font labelFont)
Sets the font for the OLAPDrillState drill state label. |
void |
setLabelType(int labelType)
Sets the type of label to display at the beginning of the drill state items. |
void |
setModel(OLAPDataSetInterface model)
Sets the model for the OLAPDrillState. |
void |
setSeparator(java.lang.String value)
Sets the separator string used in between the drilled member labels of the OLAPDrillState. |
void |
setSeparatorColor(java.awt.Color separatorColor)
Sets the color of the text used as the separator between the drilled member labels of the OLAPDrillState. |
void |
setSeparatorFont(java.awt.Font separatorFont)
Sets the font of the text used as the separator between the drilled member labels of the OLAPDrillState. |
void |
setSeparatorImage(java.lang.String value)
Sets the filename or the path of the separator image used between the drilled member labels of the OLAPDrillState . |
void |
setUniqueId(java.lang.Object uniqueId)
Returns the Viewer's uniqueId |
Field Detail |
---|
public static final java.lang.String RB_KEY
Constructor Detail |
---|
public OLAPDrillState()
OLAPDrillState
.
Method Detail |
---|
public static com.sas.beans.ExtendedBeanInfo getExtendedBeanInfo()
com.sas.beans.Introspector
to
augment the automatically introspected information about this OLAPDrillState.
protected void createLayout()
public OLAPDataSetInterface getModel()
public void setModel(OLAPDataSetInterface model)
model
- the model for the OLAPDrillState componentpublic void setLabelType(int labelType)
labelType
- the type of display label to use for the drill state itemspublic int getLabelType()
public void contentsChanged(com.sas.collection.ContentsChangedEvent event)
OLAPDrillState
receives a ContentsChangeEvent
from the action provider.
Application code will not use this method explicitly, it is used internally by OLAPDrillState
.
contentsChanged
in interface com.sas.collection.ContentsChangedListener
event
- the contents changed eventprotected void getDrillStateActions()
OLAPDrillState
receives a ContentsChangeEvent
from the action provider, or when the action provider or model is set. This method uses the action provider to query the model
for information about its drilled dimensions.
Application code will not use this method explicitly, it is used internally by OLAPDrillState
.
protected void refreshDrillStateView()
public void setFont(java.awt.Font font)
setFont
in class javax.swing.JComponent
getFont()
public java.awt.Font getFont()
getFont
in interface java.awt.MenuContainer
getFont
in class java.awt.Component
setFont(java.awt.Font)
public void setLabelFont(java.awt.Font labelFont)
getLabelFont()
public java.awt.Font getLabelFont()
setLabelFont(java.awt.Font)
public void setColor(java.awt.Color color)
getColor()
public java.awt.Color getColor()
setColor(java.awt.Color)
public void setLabelColor(java.awt.Color labelColor)
getLabelColor()
public java.awt.Color getLabelColor()
setLabelColor(java.awt.Color)
public void setSeparator(java.lang.String value)
value
- The separator of the OLAPDrillStatepublic java.lang.String getSeparator()
public void setSeparatorImage(java.lang.String value)
OLAPDrillState
.
The specified String can be a file name or a file path. When specifying a path, use the Internet-standard forward-slash ("/") as a separator.
value
- The separator filename of path of the image of the OLAPDrillStategetSeparatorImage()
public java.lang.String getSeparatorImage()
setSeparatorImage(java.lang.String)
public void setSeparatorColor(java.awt.Color separatorColor)
getSeparatorColor()
public java.awt.Color getSeparatorColor()
setSeparatorColor(java.awt.Color)
public void setSeparatorFont(java.awt.Font separatorFont)
getSeparatorFont()
public java.awt.Font getSeparatorFont()
setSeparatorFont(java.awt.Font)
public void setActionProvider(SwingActionProvider actionProvider)
setActionProvider
in interface SwingActionProviderViewInterface
ActionProvider
- objectSwingActionProviderViewInterface.getActionProvider()
public SwingActionProvider getActionProvider()
getActionProvider
in interface SwingActionProviderViewInterface
SwingActionProviderViewInterface.setActionProvider(com.sas.actionprovider.SwingActionProvider)
public void setActionVisible(java.lang.String actionType, java.lang.String areaType, boolean visible)
setActionVisible
in interface ActionProviderViewInterface
actionType
- The key that identifies the type of action.area
- The area affected by the change in visibility fort the actionType. If null,
then the method call applies to all the known areaTypes.visible
- The boolean indicating whether the actionType should be hidden
or unhidden.
java.lang.IllegalArgumentException
- if null or invalid actionType specified.
java.lang.IllegalArgumentException
- if invalid areaType specified.
java.lang.IllegalStateException
- if actionSupportType not set.ActionProviderViewInterface.isActionVisible(java.lang.String, java.lang.String)
,
ActionProviderSupportTypes
public boolean isActionVisible(java.lang.String actionType, java.lang.String areaType)
isActionVisible
in interface ActionProviderViewInterface
actionType
- The key that identifies the type of action as defined by the
support class.areaType
- The key that identifies the type of area as defined by the support
class.
ActionProviderViewInterface.setActionVisible(java.lang.String, java.lang.String, boolean)
,
ActionProviderSupportTypes
public java.lang.Object getUniqueId()
getUniqueId
in interface ActionProviderViewInterface
ActionProviderViewInterface.setUniqueId(java.lang.Object)
public void setUniqueId(java.lang.Object uniqueId)
setUniqueId
in interface ActionProviderViewInterface
ActionProviderViewInterface.getUniqueId()
public java.util.Collection listAreaTypes()
listAreaTypes
in interface ActionProviderViewInterface
actionSupportType
- The key associated with a support class.
ActionProviderViewInterface.listActionTypes(java.lang.String)
,
ActionProviderViewInterface.setActionSupportType(java.lang.String)
public java.util.Collection listActionTypes(java.lang.String areaType)
listActionTypes
in interface ActionProviderViewInterface
actionSupportType
- The key associated with a support class.areaType
- The key associated with a defined areaType.
ActionProviderViewInterface.listAreaTypes()
,
ActionProviderViewInterface.setActionSupportType(java.lang.String)
public void setActionSupportType(java.lang.String actionSupportType)
setActionSupportType
in interface ActionProviderViewInterface
actionSupportType
- The key that is associated with a particular support class.ActionProviderViewInterface.getActionSupportType()
,
ActionProviderSupportTypes
public java.lang.String getActionSupportType()
getActionSupportType
in interface ActionProviderViewInterface
ActionProviderViewInterface.setActionSupportType(java.lang.String)
,
ActionProviderSupportTypes
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |