public static interface

ActionInterfaces.Window.ActionWindowInterface

implements ActionInterfaces.Window.PopupWindowInterface
com.droidux.pack.action.interfaces.ActionInterfaces.Window.ActionWindowInterface
Known Indirect Subclasses

Class Overview

Represents the contracts to be implemented by action windows.

Summary

Public Methods
abstract void setAnimationStyle(int styleId)
Sets the style of the window animation.
abstract void setBackgroundDrawable(Drawable bg)
Sets the background to a given Drawable, or remove the background.
abstract void setDismissOnClick(boolean dismiss, int delay)
Sets whether to dismiss the window when the user click on an action item.
abstract void setDismissOnClick(boolean dismiss)
Sets whether to dismiss the window when the user click on an action item.
abstract void setOnDismissListener(PopupWindow.OnDismissListener listener)
Sets the listener to be notified when the window is dismissed.
abstract void setTitle(String title)
Sets the title of the window.
[Expand]
Inherited Methods
From interface com.droidux.pack.action.interfaces.ActionInterfaces.Window.PopupWindowInterface

Public Methods

public abstract void setAnimationStyle (int styleId)

Since: API Level 2.5

Sets the style of the window animation.

Parameters
styleId The style resource id.

public abstract void setBackgroundDrawable (Drawable bg)

Since: API Level 2.5

Sets the background to a given Drawable, or remove the background.

Parameters
bg The Drawable to use as the background, or null to remove the background.

public abstract void setDismissOnClick (boolean dismiss, int delay)

Since: API Level 2.5

Sets whether to dismiss the window when the user click on an action item.

Parameters
dismiss If true, dismiss the window after the click.
delay Delay time (in millisecond) before dismissing the window.

public abstract void setDismissOnClick (boolean dismiss)

Since: API Level 2.5

Sets whether to dismiss the window when the user click on an action item.

Parameters
dismiss If true, dismiss the window after the click.

public abstract void setOnDismissListener (PopupWindow.OnDismissListener listener)

Since: API Level 2.5

Sets the listener to be notified when the window is dismissed.

Parameters
listener The listener to be notified.

public abstract void setTitle (String title)

Since: API Level 2.5

Sets the title of the window.

Parameters
title The title of the window. This can be null, to hide the title.