|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectyu.ac.bg.etf.javaqx.core.AbstractDisposable
yu.ac.bg.etf.javaqx.qswing.JQComponent
yu.ac.bg.etf.javaqx.qswing.JQContainer
yu.ac.bg.etf.javaqx.qswing.JQToolBar
ToolBar Component.
Field Summary |
Fields inherited from class yu.ac.bg.etf.javaqx.qswing.JQComponent |
listenerList |
Fields inherited from interface yu.ac.bg.etf.javaqx.qswing.QSwingConstants |
BOTTOM, CENTER, HORIZONTAL, LEADING, LEFT, RIGHT, TOP, TRAILING, VERTICAL |
Fields inherited from interface yu.ac.bg.etf.javaqx.qswing.properties.JQToolbarProperties |
PROPERTY_FLOATABLE, PROPERTY_ORIENTATION |
Fields inherited from interface yu.ac.bg.etf.javaqx.qswing.properties.JQContainerProperties |
PROPERTY_LAYOUT_MANAGER |
Fields inherited from interface yu.ac.bg.etf.javaqx.qswing.properties.JQComponentProperties |
PROPERTY_BACKGROUND, PROPERTY_COMPONENT_ORIENTATION, PROPERTY_CONTEXT_MENU, PROPERTY_ENABLED, PROPERTY_FIXED_SIZE, PROPERTY_FOCUSABLE, PROPERTY_FONT, PROPERTY_FOREGROUND, PROPERTY_INSETS, PROPERTY_LOCALE, PROPERTY_MAXIMUM_SIZE, PROPERTY_MINIMUM_SIZE, PROPERTY_NAME, PROPERTY_OPAQUE, PROPERTY_PREFERRED_SIZE, PROPERTY_RESOURCE_BUNDLE_NAME, PROPERTY_STATUS_TIP_TEXT, PROPERTY_STYLE_SHEET, PROPERTY_TOOL_TIP_TEXT, PROPERTY_VISIBLE, PROPERTY_WHATS_THIS_TEXT |
Constructor Summary | |
JQToolBar()
Constructs new JQToolBar object. |
|
JQToolBar(java.lang.String title)
Constructs new JQToolBar object. |
|
JQToolBar(java.lang.String title,
boolean autoExclusive)
Constructs new JQToolBar object. |
Method Summary | |
JQToggleToolButton |
add(JQToggleToolButton toolButton)
Adds toggle tool button item. |
JQToggleToolButton |
add(JQToggleToolButton toolButton,
int index)
Adds toggle tool button item. |
JQToolButton |
add(JQToolButton toolButton)
Adds tool button item. |
JQToolButton |
add(JQToolButton toolButton,
int index)
Adds tool button item. |
JQSeparator |
addSeparator()
Adds separator. |
JQSeparator |
addSeparator(int index)
Adds separator. |
Dimension |
getDefaultIconSize()
Returns default size of the tool bar icons. |
int |
getOrientation()
Returns orientation of the toolbar. |
void |
invalidate()
Invalidates the component. |
boolean |
isFloatable()
Returns floatable property. |
protected java.lang.String |
paramString()
Returns parameters string. |
void |
revalidate()
Revalidates the component. |
void |
setDefaultIconSize(Dimension defaultIconSize)
Sets default size of the tool bar icons. |
void |
setDefaultIconSize(int width,
int height)
Sets default size of the tool bar icons. |
void |
setFloatable(boolean floatable)
Sets floatable property. |
void |
setLayout(LayoutManager layoutManager)
Sets the layout manager for this container. |
void |
setOrientation(int orientation)
Sets orientation. |
void |
validate()
Validates the component. |
Methods inherited from class yu.ac.bg.etf.javaqx.qswing.JQContainer |
add, add, add, add, addImpl, doLayout, getComponent, getComponentCount, getComponentIndex, getComponents, getLayout, getMaximumSize, getMinimumSize, getOwnedComponents, getPreferredSize, pack, remove, remove, removeAll, setBackground, setComponentOrientation, setForeground, updateLocalization |
Methods inherited from class yu.ac.bg.etf.javaqx.core.AbstractDisposable |
addDisposeListener, dispose, disposedCheck, disposedErrorString, finalize, isDisposed, removeDisposeListener |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public JQToolBar()
public JQToolBar(java.lang.String title)
title
- the tool bar titlepublic JQToolBar(java.lang.String title, boolean autoExclusive)
title
- the tool bar titleautoExclusive
- true if auto exclusiveMethod Detail |
public JQToolButton add(JQToolButton toolButton)
toolButton
- the tool button
public JQToolButton add(JQToolButton toolButton, int index)
toolButton
- the tool buttonindex
- the tool button index
public JQToggleToolButton add(JQToggleToolButton toolButton)
toolButton
- the toggle tool button
public JQToggleToolButton add(JQToggleToolButton toolButton, int index)
toolButton
- the toggle tool buttonindex
- the toggle tool button index
public JQSeparator addSeparator()
public JQSeparator addSeparator(int index)
index
- the separator index
public boolean isFloatable()
public void setFloatable(boolean floatable)
floatable
- the floatable propertypublic int getOrientation()
public void setOrientation(int orientation)
orientation
- the orientationpublic Dimension getDefaultIconSize()
public void setDefaultIconSize(Dimension defaultIconSize)
defaultIconSize
- the default sizepublic void setDefaultIconSize(int width, int height)
width
- the default widthheight
- the height sizepublic void setLayout(LayoutManager layoutManager)
setLayout
in class JQContainer
layoutManager
- the layout managerpublic void validate()
validate
in class JQContainer
public void invalidate()
invalidate
in class JQContainer
public void revalidate()
revalidate
in class JQComponent
protected java.lang.String paramString()
paramString
in class JQContainer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |