name.dhiller.jBorderLiner
Class BL_TB_ApplyToBtn
java.lang.Object
name.dhiller.jBorderLiner.BL_ToolbarItem
name.dhiller.jBorderLiner.BL_TB_ApplyToBtn
class BL_TB_ApplyToBtn
- extends BL_ToolbarItem
- Since:
- LibreOffice 3.3.x (Dropdownbox) --> not yet implemented, now ToggleDropdownButton
- Version:
- 110223
- Author:
- dhiller
Constructor Summary |
BL_TB_ApplyToBtn()
Creates a new instance of BL_TB_ActiveBtn |
Method Summary |
(package private) void |
dispatch(com.sun.star.util.URL aURL,
com.sun.star.beans.PropertyValue[] aArguments)
|
(package private) short |
GetApplyTo()
Gets the object (cell or table) to apply the border to |
(package private) void |
Init(com.sun.star.uno.XComponentContext xContext,
com.sun.star.frame.XFrame xFrame,
com.sun.star.frame.XStatusListener xControl,
String sPackageName,
com.sun.star.util.URL aURL)
Initialize the apply to button |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
saApplyToList
private static String[] saApplyToList
sApplyTo
private static String sApplyTo
BL_TB_ApplyToBtn
BL_TB_ApplyToBtn()
- Creates a new instance of BL_TB_ActiveBtn
Init
void Init(com.sun.star.uno.XComponentContext xContext,
com.sun.star.frame.XFrame xFrame,
com.sun.star.frame.XStatusListener xControl,
String sPackageName,
com.sun.star.util.URL aURL)
- Initialize the apply to button
- Parameters:
xContext
- for Registry readingxFrame
- xControl
- xStatusListenersPackageName
- name of packageaURL
-
dispatch
void dispatch(com.sun.star.util.URL aURL,
com.sun.star.beans.PropertyValue[] aArguments)
- Overrides:
dispatch
in class BL_ToolbarItem
- Parameters:
aURL
- aArguments
- Name[0]="KeyModifier" [1]="Text"
GetApplyTo
short GetApplyTo()
- Gets the object (cell or table) to apply the border to
- Returns:
- 0: apply to Cell, 1: apply to Table