|
|||||||||
| Home >> All >> com >> memoire >> [ bu overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.memoire.bu
Class BuPopupButton

java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.AbstractButton
javax.swing.JToggleButton
com.memoire.bu.BuToggleButton
com.memoire.bu.BuPopupButton
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.event.ActionListener, java.util.EventListener, java.awt.image.ImageObserver, java.awt.ItemSelectable, java.awt.MenuContainer, java.io.Serializable, javax.swing.SwingConstants
- public class BuPopupButton
- extends BuToggleButton
- implements java.awt.event.ActionListener
- extends BuToggleButton
A toggle button for toolbar which hides/shows a given component.
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JToggleButton |
javax.swing.JToggleButton.AccessibleJToggleButton, javax.swing.JToggleButton.ToggleButtonModel |
| Nested classes inherited from class javax.swing.AbstractButton |
javax.swing.AbstractButton.AccessibleAbstractButton, javax.swing.AbstractButton.ButtonChangeListener |
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
private BuDesktop |
desktop_
|
private java.awt.Point |
loc_
|
static int |
nbr_
|
private BuPalette |
window_
|
| Fields inherited from class javax.swing.JToggleButton |
|
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Container |
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
BuPopupButton(javax.swing.JComponent _component)
|
|
BuPopupButton(java.lang.String _title,
javax.swing.JComponent _component)
|
|
BuPopupButton(java.lang.String _name,
java.lang.String _title,
javax.swing.JComponent _component)
|
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent _evt)
This method is invoked when an action occurs. |
BuDesktop |
getDesktop()
|
java.awt.Dimension |
getPalettePreferredSize()
|
private void |
hideWindow()
|
boolean |
isPaletteResizable()
Indicates whether the associated palette is resizable. |
void |
setDesktop(BuDesktop _desktop)
|
void |
setPaletteLocation(int _x,
int _y)
|
void |
setPaletteResizable(boolean _b)
Deprecated. a palette should not be resizable. |
void |
setVisible(boolean _b)
Set the value of the visible property. |
private void |
showWindow()
|
| Methods inherited from class com.memoire.bu.BuToggleButton |
getBackground, getIcon, getText, getToolTipLocation, isOpaque, paint, paintBorder, paintComponent, setIcon, setText, updateUI |
| Methods inherited from class javax.swing.JToggleButton |
getAccessibleContext, getUIClassID, paramString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
window_
private BuPalette window_
nbr_
public static int nbr_
loc_
private java.awt.Point loc_
desktop_
private BuDesktop desktop_
| Constructor Detail |
BuPopupButton
public BuPopupButton(javax.swing.JComponent _component)
BuPopupButton
public BuPopupButton(java.lang.String _title, javax.swing.JComponent _component)
BuPopupButton
public BuPopupButton(java.lang.String _name, java.lang.String _title, javax.swing.JComponent _component)
| Method Detail |
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent _evt)
- Description copied from interface:
java.awt.event.ActionListener - This method is invoked when an action occurs.
- Specified by:
actionPerformedin interfacejava.awt.event.ActionListener
setPaletteLocation
public void setPaletteLocation(int _x,
int _y)
setPaletteResizable
public void setPaletteResizable(boolean _b)
- Deprecated. a palette should not be resizable.
- Sets whether the associated palette is resizable.
- Sets whether the associated palette is resizable.
isPaletteResizable
public boolean isPaletteResizable()
- Indicates whether the associated palette is resizable.
getPalettePreferredSize
public java.awt.Dimension getPalettePreferredSize()
showWindow
private void showWindow()
hideWindow
private void hideWindow()
getDesktop
public BuDesktop getDesktop()
setDesktop
public void setDesktop(BuDesktop _desktop)
setVisible
public void setVisible(boolean _b)
- Description copied from class:
javax.swing.JComponent - Set the value of the visible property.
If the value is changed, then the AncestorListeners of this component
and all its children (recursivly) are notified.
|
|||||||||
| Home >> All >> com >> memoire >> [ bu overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC