name.dhiller.jBorderLiner
Class BL_TB_LSPreviewBtn

java.lang.Object
  extended by name.dhiller.jBorderLiner.BL_ToolbarItem
      extended by name.dhiller.jBorderLiner.BL_TB_LSPreviewBtn

 class BL_TB_LSPreviewBtn
extends BL_ToolbarItem

Version:
080116
Author:
dhiller

Field Summary
(package private) static boolean active
           
(package private) static String m_sImageDir
           
 
Fields inherited from class name.dhiller.jBorderLiner.BL_ToolbarItem
m_URL
 
Constructor Summary
BL_TB_LSPreviewBtn()
          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)  void Init(com.sun.star.frame.XFrame xFrame, com.sun.star.frame.XStatusListener xControl, com.sun.star.util.URL aURL, String sImageDir)
          init - Initialize Linestyle preview
(package private)  void setLinestyle(int icurrentLinestyle)
          sets the preview according to the current line style
 
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

m_sImageDir

static String m_sImageDir

active

static boolean active
Constructor Detail

BL_TB_LSPreviewBtn

BL_TB_LSPreviewBtn()
Creates a new instance of BL_TB_ActiveBtn

Method Detail

Init

void Init(com.sun.star.frame.XFrame xFrame,
          com.sun.star.frame.XStatusListener xControl,
          com.sun.star.util.URL aURL,
          String sImageDir)
init - Initialize Linestyle preview


dispatch

void dispatch(com.sun.star.util.URL aURL,
              com.sun.star.beans.PropertyValue[] aArguments)
Overrides:
dispatch in class BL_ToolbarItem

setLinestyle

void setLinestyle(int icurrentLinestyle)
sets the preview according to the current line style

Parameters:
icurrentLinestyle - - number of linestyle