|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tbee.swing.StandardComponentPopupMenu
public class StandardComponentPopupMenu
Allow for popup menu's on all components by default. Usage: StandardComponentPopupMenu.install();
| Field Summary | |
|---|---|
protected ResourceBundle |
iResourceBundle
|
static String |
SOURCECODE_VERSION
Standard variable for determining version of a class file. |
| Constructor Summary | |
|---|---|
StandardComponentPopupMenu()
|
|
| Method Summary | |
|---|---|
void |
addIgnoreClass(Class c)
Ignore Class |
void |
addIgnoreComponent(Component c)
Ignore single component |
void |
awtEventOccured(AWTEvent event)
|
void |
fileTreePanelRefresh_click(Map<String,Object> parameters)
|
static StandardComponentPopupMenu |
get()
Singleton |
Component |
getComponent()
get the component that is clicked upon |
JMenu |
getExtendedMenu(Class c)
|
JPopupMenu |
getExtendedMenu(Object c)
|
List<Class> |
getIgnoreClass()
|
List<Component> |
getIgnoreComponent()
|
static Component |
getPoppedOverComponent()
identical to getComponent, only static |
static void |
install()
Install me |
static boolean |
isInstalled()
|
boolean |
isPopupVisible()
|
void |
jcheckBoxCopyText_click(Map<String,Object> parameters)
handle the click on the table menu |
void |
jcomponentPrint_click(Map<String,Object> parameters)
handle the click on the menuitem |
void |
jcomponentPrintWindow_click(Map<String,Object> parameters)
handle the click on the menuitem |
void |
jlabelCopyImage_click(Map<String,Object> parameters)
handle the click on the table menu |
void |
jlabelCopyText_click(Map<String,Object> parameters)
handle the click on the table menu |
void |
jlabelShowImage_click(Map<String,Object> parameters)
handle the click on the table menu |
void |
jlistClearSelection_click(Map<String,Object> parameters)
handle the click on the table menu |
void |
jlistCopyAll_click(Map<String,Object> parameters)
handle the click on the table menu |
void |
jlistCopySelection_click(Map<String,Object> parameters)
handle the click on the table menu |
void |
jlistCopyUnderMouse_click(Map<String,Object> parameters)
handle the click on the table menu |
void |
jradioButtonCopyText_click(Map<String,Object> parameters)
handle the click on the table menu |
void |
jtableAddRow_click(Map<String,Object> parameters)
handle the click on the table menu |
void |
jtableAllRowsThisSize_click(Map<String,Object> parameters)
handle the click on the table menu |
void |
jtableAutoResizeAll_click(Map<String,Object> parameters)
handle the click on the table menu |
void |
jtableAutoResizeLast_click(Map<String,Object> parameters)
handle the click on the table menu |
void |
jtableAutoResizeNext_click(Map<String,Object> parameters)
handle the click on the table menu |
void |
jtableAutoResizeOff_click(Map<String,Object> parameters)
handle the click on the table menu |
void |
jtableAutoResizeSubsequent_click(Map<String,Object> parameters)
handle the click on the table menu |
void |
jtableClearSelection_click()
handle the click on the table menu |
void |
jtableCopy_click(Map<String,Object> parameters)
handle the click on the table menu |
void |
jtableCopySelection_click()
handle the click on the table menu |
void |
jtableCutSelection_click()
handle the click on the table menu |
void |
jtableDeleteRow_click(Map<String,Object> parameters)
handle the click on the table menu |
void |
jtableheaderNoSort_click(Map<String,Object> parameters)
handle the click on the menu |
void |
jtableheaderNoSort2_click(Map<String,Object> parameters)
handle the click on the menu |
void |
jtableheaderNoSortAll_click(Map<String,Object> parameters)
handle the click on the menu |
void |
jtableheaderNoSortAll2_click(Map<String,Object> parameters)
handle the click on the menu |
void |
jtableheaderSortAsc_click(Map<String,Object> parameters)
handle the click on the menu |
void |
jtableheaderSortAsc2_click(Map<String,Object> parameters)
handle the click on the menu |
void |
jtableheaderSortAscAlso_click(Map<String,Object> parameters)
handle the click on the menu |
void |
jtableheaderSortAscAlso2_click(Map<String,Object> parameters)
handle the click on the menu |
void |
jtableheaderSortDesc_click(Map<String,Object> parameters)
handle the click on the menu |
void |
jtableheaderSortDesc2_click(Map<String,Object> parameters)
handle the click on the menu |
void |
jtableheaderSortDescAlso_click(Map<String,Object> parameters)
handle the click on the menu |
void |
jtableheaderSortDescAlso2_click(Map<String,Object> parameters)
handle the click on the menu |
void |
jtablePaste_click()
handle the click on the table menu |
void |
jtableRememberAutoSave_click(Map<String,Object> parameters)
handle the click on the table menu |
void |
jtableRememberColumnOrder_click(Map<String,Object> parameters)
handle the click on the table menu |
void |
jtableRememberColumnVisible_click(Map<String,Object> parameters)
handle the click on the table menu |
void |
jtableRememberColumnWidths_click(Map<String,Object> parameters)
handle the click on the table menu |
void |
jtableRememberRestore_click(Map<String,Object> parameters)
handle the click on the table menu |
void |
jtableSelectAll_click()
handle the click on the table menu |
void |
jtreeCopy_click(Map<String,Object> parameters)
handle the click on the table menu |
void |
jtreeRedo_click()
handle the click on the table menu |
void |
jtreeUndo_click()
handle the click on the table menu |
void |
lostOwnership(Clipboard clip,
Transferable tr)
called when someone else puts something on the clipboard |
void |
popupMenuCanceled(PopupMenuEvent e)
|
void |
popupMenuWillBecomeInvisible(PopupMenuEvent e)
|
void |
popupMenuWillBecomeVisible(PopupMenuEvent e)
|
void |
removeExtendedMenu(Class c)
|
void |
removeExtendedMenu(Object c)
|
void |
removeIgnoreClass(Class c)
|
void |
removeIgnoreComponent(Component c)
|
void |
setExtendedMenu(Class c,
JMenu menu)
Allow for extended menu's on certain classes. |
void |
setExtendedMenu(Object c,
JMenu menu)
Allow for extended menu's on specific objects. |
void |
showJCheckBoxMenu(JCheckBox list,
MouseEvent mouseEvent)
show the menu associated with tables |
void |
showJComponentMenu(Component component,
MouseEvent mouseEvent,
JPopupMenu menu,
String prefix)
for reuse: compose the menu associated with components |
void |
showJComponentMenu(JComponent component,
MouseEvent mouseEvent)
show the menu associated with jcomponents |
protected void |
showJLabelComponentMenu(JLabel component,
MouseEvent mouseEvent)
show the menu associated with TextComponents |
protected void |
showJLabelComponentMenu(JLabel component,
MouseEvent mouseEvent,
JPopupMenu lJPopupMenu,
String prefix)
show the menu associated with TextComponents |
void |
showJListMenu(JList list,
MouseEvent mouseEvent)
show the menu associated with tables |
void |
showJRadioButtonMenu(JRadioButton list,
MouseEvent mouseEvent)
show the menu associated with tables |
void |
showJTableHeaderMenu(JTableHeader tableHeader,
MouseEvent mouseEvent)
show the menu associated with tables |
void |
showJTableMenu(JTable table,
MouseEvent mouseEvent)
show the menu associated with tables |
protected void |
showJTextComponentMenu(JTextComponent component,
MouseEvent mouseEvent)
show the menu associated with TextComponents |
void |
showJTreeMenu(JTree tree,
MouseEvent mouseEvent)
show the menu associated with tables |
void |
textPopup_click()
popup |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SOURCECODE_VERSION
protected ResourceBundle iResourceBundle
| Constructor Detail |
|---|
public StandardComponentPopupMenu()
| Method Detail |
|---|
public static void install()
public static boolean isInstalled()
public static StandardComponentPopupMenu get()
public void awtEventOccured(AWTEvent event)
public Component getComponent()
public static Component getPoppedOverComponent()
public void setExtendedMenu(Class c,
JMenu menu)
public JMenu getExtendedMenu(Class c)
public void removeExtendedMenu(Class c)
public void addIgnoreClass(Class c)
public void removeIgnoreClass(Class c)
public List<Class> getIgnoreClass()
public void setExtendedMenu(Object c,
JMenu menu)
public JPopupMenu getExtendedMenu(Object c)
public void removeExtendedMenu(Object c)
public void addIgnoreComponent(Component c)
public void removeIgnoreComponent(Component c)
public List<Component> getIgnoreComponent()
public void showJComponentMenu(JComponent component,
MouseEvent mouseEvent)
public void showJComponentMenu(Component component,
MouseEvent mouseEvent,
JPopupMenu menu,
String prefix)
public void jcomponentPrint_click(Map<String,Object> parameters)
public void jcomponentPrintWindow_click(Map<String,Object> parameters)
public void showJTableMenu(JTable table,
MouseEvent mouseEvent)
public void jtableCopy_click(Map<String,Object> parameters)
public void jtableCopySelection_click()
public void jtableCutSelection_click()
public void jtablePaste_click()
public void jtableAllRowsThisSize_click(Map<String,Object> parameters)
public void jtableSelectAll_click()
e - v - public void jtableClearSelection_click()
e - v - public void jtableAddRow_click(Map<String,Object> parameters)
public void jtableDeleteRow_click(Map<String,Object> parameters)
public void jtableAutoResizeOff_click(Map<String,Object> parameters)
public void jtableAutoResizeAll_click(Map<String,Object> parameters)
public void jtableAutoResizeLast_click(Map<String,Object> parameters)
public void jtableAutoResizeSubsequent_click(Map<String,Object> parameters)
public void jtableAutoResizeNext_click(Map<String,Object> parameters)
public void jtableRememberRestore_click(Map<String,Object> parameters)
public void jtableRememberColumnWidths_click(Map<String,Object> parameters)
public void jtableRememberColumnOrder_click(Map<String,Object> parameters)
public void jtableRememberColumnVisible_click(Map<String,Object> parameters)
public void jtableRememberAutoSave_click(Map<String,Object> parameters)
public void showJTableHeaderMenu(JTableHeader tableHeader,
MouseEvent mouseEvent)
public void jtableheaderNoSortAll_click(Map<String,Object> parameters)
public void jtableheaderNoSort_click(Map<String,Object> parameters)
public void jtableheaderSortDesc_click(Map<String,Object> parameters)
public void jtableheaderSortDescAlso_click(Map<String,Object> parameters)
public void jtableheaderSortAsc_click(Map<String,Object> parameters)
public void jtableheaderSortAscAlso_click(Map<String,Object> parameters)
public void jtableheaderNoSortAll2_click(Map<String,Object> parameters)
public void jtableheaderNoSort2_click(Map<String,Object> parameters)
public void jtableheaderSortDesc2_click(Map<String,Object> parameters)
public void jtableheaderSortDescAlso2_click(Map<String,Object> parameters)
public void jtableheaderSortAsc2_click(Map<String,Object> parameters)
public void jtableheaderSortAscAlso2_click(Map<String,Object> parameters)
public void showJTreeMenu(JTree tree,
MouseEvent mouseEvent)
public void jtreeCopy_click(Map<String,Object> parameters)
public void jtreeUndo_click()
public void jtreeRedo_click()
public void fileTreePanelRefresh_click(Map<String,Object> parameters)
e - v -
protected void showJTextComponentMenu(JTextComponent component,
MouseEvent mouseEvent)
public void textPopup_click()
protected void showJLabelComponentMenu(JLabel component,
MouseEvent mouseEvent)
protected void showJLabelComponentMenu(JLabel component,
MouseEvent mouseEvent,
JPopupMenu lJPopupMenu,
String prefix)
public void jlabelCopyText_click(Map<String,Object> parameters)
e - v - public void jlabelCopyImage_click(Map<String,Object> parameters)
e - v - public void jlabelShowImage_click(Map<String,Object> parameters)
e - v -
public void lostOwnership(Clipboard clip,
Transferable tr)
lostOwnership in interface ClipboardOwner
public void showJListMenu(JList list,
MouseEvent mouseEvent)
public void jlistCopyUnderMouse_click(Map<String,Object> parameters)
public void jlistCopySelection_click(Map<String,Object> parameters)
public void jlistCopyAll_click(Map<String,Object> parameters)
public void jlistClearSelection_click(Map<String,Object> parameters)
e - v -
public void showJCheckBoxMenu(JCheckBox list,
MouseEvent mouseEvent)
public void jcheckBoxCopyText_click(Map<String,Object> parameters)
e - v -
public void showJRadioButtonMenu(JRadioButton list,
MouseEvent mouseEvent)
public void jradioButtonCopyText_click(Map<String,Object> parameters)
e - v - public void popupMenuWillBecomeVisible(PopupMenuEvent e)
popupMenuWillBecomeVisible in interface PopupMenuListenerpublic void popupMenuWillBecomeInvisible(PopupMenuEvent e)
popupMenuWillBecomeInvisible in interface PopupMenuListenerpublic void popupMenuCanceled(PopupMenuEvent e)
popupMenuCanceled in interface PopupMenuListenerpublic boolean isPopupVisible()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||