name.dhiller.jBorderLiner
Class BL_TB_ApplyToBtn

java.lang.Object
  extended by name.dhiller.jBorderLiner.BL_ToolbarItem
      extended by 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

Field Summary
private static String[] saApplyToList
           
private static String sApplyTo
           
 
Fields inherited from class name.dhiller.jBorderLiner.BL_ToolbarItem
m_URL
 
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 name.dhiller.jBorderLiner.BL_ToolbarItem
changeStatusFrame, GetControl, getControlElement, getControlElementFromFrame, GetFrame, Init, removeContext, SendCommandTo, sendCommandToAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

saApplyToList

private static String[] saApplyToList

sApplyTo

private static String sApplyTo
Constructor Detail

BL_TB_ApplyToBtn

BL_TB_ApplyToBtn()
Creates a new instance of BL_TB_ActiveBtn

Method Detail

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 reading
xFrame -
xControl - xStatusListener
sPackageName - name of package
aURL -

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