|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectname.dhiller.jBorderLiner.BL_ToolbarItem
name.dhiller.jBorderLiner.BL_TB_SelectLWBtn
class BL_TB_SelectLWBtn
Field Summary | |
---|---|
(package private) static int |
icurrentLineWidth
|
private static double |
iInitialValue
|
private static double |
iLowerLimit
|
private static double |
iStep
|
private static double |
iUpperLimit
|
Fields inherited from class name.dhiller.jBorderLiner.BL_ToolbarItem |
---|
m_URL |
Constructor Summary | |
---|---|
BL_TB_SelectLWBtn()
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)
dispatch - got a message, linewidth changed, get value and set to all |
(package private) int |
GetLineWidth()
return the linewidth |
(package private) void |
Init(com.sun.star.frame.XFrame xFrame,
com.sun.star.frame.XStatusListener xControl,
com.sun.star.util.URL aURL)
init - Initialize Toolbarbutton to select the linestyle |
(package private) int |
LinePt2LineWidth(double dPt)
Convert Linewidth in Points to LineWidth(LibreOffice) |
(package private) double |
LineWidth2LinePt(int iLW)
Convert LineWidth(LibreOffice) to Linewidth in Points |
(package private) void |
setLineWidth(int iLW)
set line Width need to write value to toolbar again in case user entered data manually and also to inform all toolbars of the change |
(package private) void |
setLineWidthFromTB(double dLWPt)
set line Width from the toolbar need to write value to toolbar again in case user entered data manually and also to inform all toolbars of the change |
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 |
---|
static int icurrentLineWidth
private static final double iInitialValue
private static final double iLowerLimit
private static final double iStep
private static final double iUpperLimit
Constructor Detail |
---|
BL_TB_SelectLWBtn()
Method Detail |
---|
void Init(com.sun.star.frame.XFrame xFrame, com.sun.star.frame.XStatusListener xControl, com.sun.star.util.URL aURL)
xFrame
- com.sun.star.frame.XStatusListener
- xControlcom.sun.star.util.URL
- my URL
void dispatch(com.sun.star.util.URL aURL, com.sun.star.beans.PropertyValue[] aArguments)
dispatch
in class BL_ToolbarItem
com.sun.star.util.URL
- my URLcom.sun.star.beans.PropertyValue[]
- Arguments, Name = "KeyModifier", "Value"int GetLineWidth()
void setLineWidthFromTB(double dLWPt)
iLw
- - LineWidthvoid setLineWidth(int iLW)
iLw
- - LineWidthint LinePt2LineWidth(double dPt)
dPt
-
double LineWidth2LinePt(int iLW)
Linewidth
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |