|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kemet.lf.components.ComponentsKemet
org.kemet.lf.components.KemetToolBar
public class KemetToolBar
KemetToolBar : Creation and management of a toolbar.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.kemet.lf.components.ComponentsKemet |
---|
ComponentsKemet.CheckBoxIcon, ComponentsKemet.RadioButtonIcon |
Field Summary |
---|
Fields inherited from interface org.kemet.lf.components.IComponents |
---|
footerPanelHeight, headerPanelHeight, maxSizeTitle, menuPanelHeight, posCentralPanel, posMenuPanel, sizeFont, valueToRemoveFromWindowWidth |
Constructor Summary | |
---|---|
KemetToolBar(java.lang.String title,
ToolBarsTypeEnum type)
create tool bar. |
Method Summary | |
---|---|
java.lang.Exception |
getException()
return the raised exception. |
javax.swing.JPanel |
getHeaderPanel()
return the header panel. |
javax.swing.JFrame |
getJf()
return the JFrame of the toolbar. |
javax.swing.JScrollPane |
getJs()
return the scrollable list. |
java.awt.LayoutManager |
getLayout()
return the layout of toolbar. |
static int[] |
getTheNearestToolbarToMainWindow()
return the index of the nearest toolbar to main window. |
javax.swing.JPanel |
getToolBarPanel()
return the tool bar panel. |
int |
getWindowHeight()
return the height of window. |
int |
getWindowPosX()
return the coordinate X of window. |
int |
getWindowPosY()
return the coordinate Y of window. |
int |
getWindowWidth()
return the width of window. |
void |
run()
run the thread which be going to initialize the window. |
void |
setLayout(java.awt.LayoutManager layout)
set the layout of toolbar. |
void |
setWindowHeight(int windowHeight)
set the height of window. |
void |
setWindowPosX(int windowPosX)
set the coordinate X of window. |
void |
setWindowPosY(int windowPosY)
set the coordinate Y of window. |
void |
setWindowWidth(int windowWidth)
set the width of window. |
static void |
showOrHideToolbars(boolean flag)
show or hide toolbars. |
void |
update(java.util.List<javax.swing.JPanel> panels)
update toolbar. |
Methods inherited from class org.kemet.lf.components.ComponentsKemet |
---|
getFooterPanel, getMenuPanel, setFooterPanel, setHeaderPanel, setMenuPanel |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KemetToolBar(java.lang.String title, ToolBarsTypeEnum type) throws ExceptionManager
create tool bar.
title
- title of tool bartype
- type of toolbar
ExceptionManager
Method Detail |
---|
public void run()
run the thread which be going to initialize the window.
run
in interface java.lang.Runnable
public static void showOrHideToolbars(boolean flag) throws ExceptionManager
show or hide toolbars.
flag
- true (show) / false (hide)
ExceptionManager
public static int[] getTheNearestToolbarToMainWindow() throws ExceptionManager
return the index of the nearest toolbar to main window.
ExceptionManager
public javax.swing.JPanel getHeaderPanel()
return the header panel.
getHeaderPanel
in class ComponentsKemet
public javax.swing.JPanel getToolBarPanel()
return the tool bar panel.
public int getWindowWidth()
return the width of window.
public void setWindowWidth(int windowWidth)
set the width of window.
windowWidth
- width of windowpublic int getWindowHeight()
return the height of window.
public void setWindowHeight(int windowHeight)
set the height of window.
windowHeight
- height of windowpublic int getWindowPosX()
return the coordinate X of window.
public void setWindowPosX(int windowPosX)
set the coordinate X of window.
windowPosX
- coordinate X of windowpublic int getWindowPosY()
return the coordinate Y of window.
public void setWindowPosY(int windowPosY)
set the coordinate Y of window.
windowPosY
- coordinate Y of windowpublic java.awt.LayoutManager getLayout()
return the layout of toolbar.
public void setLayout(java.awt.LayoutManager layout)
set the layout of toolbar.
layout
- layout of toolbarpublic javax.swing.JFrame getJf()
return the JFrame of the toolbar.
public javax.swing.JScrollPane getJs()
return the scrollable list.
public java.lang.Exception getException()
return the raised exception.
public void update(java.util.List<javax.swing.JPanel> panels) throws ExceptionManager
update toolbar.
panels
- list of panels for toolBarPanel
ExceptionManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |