name.dhiller.jBorderLiner
Class BL_TB_SelectColorBtn
java.lang.Object
name.dhiller.jBorderLiner.BL_ToolbarItem
name.dhiller.jBorderLiner.BL_TB_SelectColorBtn
class BL_TB_SelectColorBtn
- extends BL_ToolbarItem
- Version:
- 080507
- Author:
- Dietmar Hiller (dhiller)
Method Summary |
(package private) void |
dispatch(com.sun.star.util.URL aURL,
com.sun.star.beans.PropertyValue[] aArguments)
Exchange data with toolbar item |
(package private) int |
GetColor()
|
(package private) void |
Init(com.sun.star.frame.XFrame xFrame,
com.sun.star.frame.XStatusListener xControl,
com.sun.star.util.URL aURL,
String sDlgDir,
String sDlgName,
String sDlgHue,
com.sun.star.uno.XComponentContext xContext)
Init DlgButton |
(package private) void |
setColor(int inColor)
loads the color |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
currentColor
Color currentColor
m_sDlgDir
static String m_sDlgDir
m_sDlgName
static String m_sDlgName
m_sDlgHue
static String m_sDlgHue
m_xContext
static com.sun.star.uno.XComponentContext m_xContext
active
static boolean active
BL_TB_SelectColorBtn
BL_TB_SelectColorBtn()
- Creates a new instance of BL_TB_ActiveBtn
Init
void Init(com.sun.star.frame.XFrame xFrame,
com.sun.star.frame.XStatusListener xControl,
com.sun.star.util.URL aURL,
String sDlgDir,
String sDlgName,
String sDlgHue,
com.sun.star.uno.XComponentContext xContext)
- Init DlgButton
- Parameters:
xFrame
- - Frame of controlxControl
- - StatusListeneraURL
- - URL to ToolbarbuttonsDlgDir
- - URL of directory with dialogsDlgName
- - Name of dialogsDlgHue
- - URL to image of hue
dispatch
void dispatch(com.sun.star.util.URL aURL,
com.sun.star.beans.PropertyValue[] aArguments)
- Exchange data with toolbar item
- Overrides:
dispatch
in class BL_ToolbarItem
- Parameters:
aURL
- aArguments
- (.Name="SetColor", .Value=Color), (.Name=else, call dialog)
setColor
void setColor(int inColor)
- loads the color
- Parameters:
inColor
- - color loaded
GetColor
int GetColor()