Java Doc for WorkbenchFrame.java in  » GIS » openjump » com » vividsolutions » jump » workbench » ui » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » openjump » com.vividsolutions.jump.workbench.ui 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.JFrame
   com.vividsolutions.jump.workbench.ui.WorkbenchFrame

WorkbenchFrame
public class WorkbenchFrame extends JFrame implements LayerViewPanelContext,ViewportListener(Code)
This class is responsible for the main window of the JUMP application.


Field Summary
 ApplicationExitHandlerapplicationExitHandler
    
 BorderLayoutborderLayout1
    
 JLabelcoordinateLabel
    
 JMenuItemexitMenuItem
    
 JMenufileMenu
    
 GridBagLayoutgridBagLayout1
    
 InternalFrameCloseHandlerinternalFrameCloseHandler
    
 JMenuBarmenuBar
    
 JLabelmessageLabel
    
 JPanelstatusPanel
    
 JLabeltimeLabel
    
 WorkbenchToolBartoolBar
    
 JMenuwindowMenu
    

Constructor Summary
public  WorkbenchFrame(String title, ImageIcon icon, WorkbenchContext workbenchContext)
    

Method Summary
public  voidactivateFrame(JInternalFrame frame)
    
public  voidaddChoosableStyleClass(Class choosableStyleClass)
    
public  voidaddEasyKeyListener(KeyListener l)
     Unlike #add(KeyListener), listeners registered using this method are notified when KeyEvents occur on this frame's child components.
public  voidaddInternalFrame(JInternalFrame internalFrame)
     If internalFrame is a LayerManagerProxy, the close behaviour will be altered so that the user is prompted if it is the last window on the LayerManager.
public  voidaddInternalFrame(JInternalFrame internalFrame, boolean alwaysOnTop, boolean autoUpdateToolBar)
    
public  voidaddKeyboardShortcut(int keyCode, int modifiers, PlugIn plugIn, EnableCheck enableCheck)
     Adds a keyboard shortcut for a plugin.
public  TaskFrameaddTaskFrame()
    
public  TaskFrameaddTaskFrame(Task task)
    
public  TaskFrameaddTaskFrame(TaskFrame taskFrame)
    
public  TaskcreateTask()
    
public  voiddisplayLastStatusMessage()
    
 voidexitMenuItem_actionPerformed(ActionEvent e)
    
public  voidflash(HTMLFrame frame)
    
public  JInternalFramegetActiveInternalFrame()
    
public  ApplicationExitHandlergetApplicationExitHandler()
    
public  TitledPopupMenugetCategoryPopupMenu()
    
public  SetgetChoosableStyleClasses()
     Fundamental Style classes (like BasicStyle, VertexStyle, and LabelStyle) cannot be removed, and are thus excluded from the choosable Style classes.
public  WorkbenchContextgetContext()
    
public  JDesktopPanegetDesktopPane()
    
public  intgetEnvelopeRenderingThreshold()
    
public  InternalFrameCloseHandlergetInternalFrameCloseHandler()
    
public  JInternalFrame[]getInternalFrames()
    
public  LayerNamePanelListenergetLayerNamePanelListener()
    
public  TitledPopupMenugetLayerNamePopupMenu()
    
public  LayerViewPanelListenergetLayerViewPanelListener()
    
public  StringgetLog()
    
public  StringgetMBCommittedMemory()
    
public  intgetMaximumFeatureExtentForEnvelopeRenderingInPixels()
    
public  intgetMinimumFeatureExtentForAnyRenderingInPixels()
    
public  MapgetNodeClassToPopupMenuMap()
    
public  HTMLFramegetOutputFrame()
    
public  WorkbenchToolBargetToolBar()
    
public  TitledPopupMenugetWMSLayerNamePopupMenu()
    
public  voidhandleThrowable(Throwable t)
     Can be called regardless of whether the current thread is the AWT event dispatch thread.
public static  voidhandleThrowable(Throwable t, Component parent)
    
public  booleanhasInternalFrame(JInternalFrame internalFrame)
    
public  voidlog(String message)
    
public  voidremoveEasyKeyListener(KeyListener l)
    
public  voidremoveInternalFrame(JInternalFrame internalFrame)
    
public  voidsetApplicationExitHandler(ApplicationExitHandler value)
    
public  voidsetEnvelopeRenderingThreshold(int newEnvelopeRenderingThreshold)
    
public  voidsetInternalFrameCloseHandler(InternalFrameCloseHandler value)
    
public  voidsetMaximumFeatureExtentForEnvelopeRenderingInPixels(int newMaximumFeatureExtentForEnvelopeRenderingInPixels)
    
public  voidsetMinimumFeatureExtentForAnyRenderingInPixels(int newMinimumFeatureExtentForAnyRenderingInPixels)
    
public  voidsetStatusMessage(String message)
    
public  voidsetTimeMessage(String message)
    
 voidthis_componentShown(ComponentEvent e)
    
 voidthis_windowClosing(WindowEvent e)
    
public static  StringtoMessage(Throwable t)
    
public  voidwarnUser(String warning)
    
 voidwindowMenu_menuSelected(MenuEvent e)
    
public  voidzoomChanged(Envelope modelEnvelope)
    

Field Detail
applicationExitHandler
ApplicationExitHandler applicationExitHandler(Code)



borderLayout1
BorderLayout borderLayout1(Code)



coordinateLabel
JLabel coordinateLabel(Code)



exitMenuItem
JMenuItem exitMenuItem(Code)



fileMenu
JMenu fileMenu(Code)



gridBagLayout1
GridBagLayout gridBagLayout1(Code)



internalFrameCloseHandler
InternalFrameCloseHandler internalFrameCloseHandler(Code)



menuBar
JMenuBar menuBar(Code)



messageLabel
JLabel messageLabel(Code)



statusPanel
JPanel statusPanel(Code)



timeLabel
JLabel timeLabel(Code)



toolBar
WorkbenchToolBar toolBar(Code)



windowMenu
JMenu windowMenu(Code)




Constructor Detail
WorkbenchFrame
public WorkbenchFrame(String title, ImageIcon icon, WorkbenchContext workbenchContext) throws Exception(Code)




Method Detail
activateFrame
public void activateFrame(JInternalFrame frame)(Code)



addChoosableStyleClass
public void addChoosableStyleClass(Class choosableStyleClass)(Code)



addEasyKeyListener
public void addEasyKeyListener(KeyListener l)(Code)
Unlike #add(KeyListener), listeners registered using this method are notified when KeyEvents occur on this frame's child components. Note: Bug: KeyListeners registered using this method may receive events multiple times.
See Also:   WorkbenchFrame.addKeyboardShortcut



addInternalFrame
public void addInternalFrame(JInternalFrame internalFrame)(Code)
If internalFrame is a LayerManagerProxy, the close behaviour will be altered so that the user is prompted if it is the last window on the LayerManager.



addInternalFrame
public void addInternalFrame(JInternalFrame internalFrame, boolean alwaysOnTop, boolean autoUpdateToolBar)(Code)



addKeyboardShortcut
public void addKeyboardShortcut(int keyCode, int modifiers, PlugIn plugIn, EnableCheck enableCheck)(Code)
Adds a keyboard shortcut for a plugin. logs plugin exceptions. note - attaching to keyCode 'a', modifiers =1 will detect shift-A events. It will *not* detect caps-lock-'a'. This is due to inconsistencies in java.awt.event.KeyEvent. In the unlikely event you actually do want to also also attach to caps-lock-'a', then make two shortcuts - one to keyCode 'a' and modifiers =1 (shift-A) and one to keyCode 'A' and modifiers=0 (caps-lock A). For more details, see the java.awt.event.KeyEvent class - it has a full explaination.
Parameters:
  keyCode - What key to attach to (See java.awt.event.KeyEvent)
Parameters:
  modifiers - 0=none, 1=shift, 2= cntrl, 8=alt, 3=shift+cntrl, etc... See themodifier mask constants in the Event class
Parameters:
  plugIn - What plugin to execute
Parameters:
  enableCheck - Is the key enabled at the moment?



addTaskFrame
public TaskFrame addTaskFrame()(Code)



addTaskFrame
public TaskFrame addTaskFrame(Task task)(Code)



addTaskFrame
public TaskFrame addTaskFrame(TaskFrame taskFrame)(Code)



createTask
public Task createTask()(Code)



displayLastStatusMessage
public void displayLastStatusMessage()(Code)



exitMenuItem_actionPerformed
void exitMenuItem_actionPerformed(ActionEvent e)(Code)



flash
public void flash(HTMLFrame frame)(Code)



getActiveInternalFrame
public JInternalFrame getActiveInternalFrame()(Code)



getApplicationExitHandler
public ApplicationExitHandler getApplicationExitHandler()(Code)



getCategoryPopupMenu
public TitledPopupMenu getCategoryPopupMenu()(Code)



getChoosableStyleClasses
public Set getChoosableStyleClasses()(Code)
Fundamental Style classes (like BasicStyle, VertexStyle, and LabelStyle) cannot be removed, and are thus excluded from the choosable Style classes.



getContext
public WorkbenchContext getContext()(Code)



getDesktopPane
public JDesktopPane getDesktopPane()(Code)



getEnvelopeRenderingThreshold
public int getEnvelopeRenderingThreshold()(Code)



getInternalFrameCloseHandler
public InternalFrameCloseHandler getInternalFrameCloseHandler()(Code)



getInternalFrames
public JInternalFrame[] getInternalFrames()(Code)



getLayerNamePanelListener
public LayerNamePanelListener getLayerNamePanelListener()(Code)



getLayerNamePopupMenu
public TitledPopupMenu getLayerNamePopupMenu()(Code)



getLayerViewPanelListener
public LayerViewPanelListener getLayerViewPanelListener()(Code)



getLog
public String getLog()(Code)



getMBCommittedMemory
public String getMBCommittedMemory()(Code)



getMaximumFeatureExtentForEnvelopeRenderingInPixels
public int getMaximumFeatureExtentForEnvelopeRenderingInPixels()(Code)



getMinimumFeatureExtentForAnyRenderingInPixels
public int getMinimumFeatureExtentForAnyRenderingInPixels()(Code)



getNodeClassToPopupMenuMap
public Map getNodeClassToPopupMenuMap()(Code)



getOutputFrame
public HTMLFrame getOutputFrame()(Code)



getToolBar
public WorkbenchToolBar getToolBar()(Code)



getWMSLayerNamePopupMenu
public TitledPopupMenu getWMSLayerNamePopupMenu()(Code)



handleThrowable
public void handleThrowable(Throwable t)(Code)
Can be called regardless of whether the current thread is the AWT event dispatch thread.
Parameters:
  t - Description of the Parameter



handleThrowable
public static void handleThrowable(Throwable t, Component parent)(Code)



hasInternalFrame
public boolean hasInternalFrame(JInternalFrame internalFrame)(Code)



log
public void log(String message)(Code)



removeEasyKeyListener
public void removeEasyKeyListener(KeyListener l)(Code)



removeInternalFrame
public void removeInternalFrame(JInternalFrame internalFrame)(Code)



setApplicationExitHandler
public void setApplicationExitHandler(ApplicationExitHandler value)(Code)



setEnvelopeRenderingThreshold
public void setEnvelopeRenderingThreshold(int newEnvelopeRenderingThreshold)(Code)

Parameters:
  newEnvelopeRenderingThreshold - the number of on-screen features above which enveloperendering should occur



setInternalFrameCloseHandler
public void setInternalFrameCloseHandler(InternalFrameCloseHandler value)(Code)



setMaximumFeatureExtentForEnvelopeRenderingInPixels
public void setMaximumFeatureExtentForEnvelopeRenderingInPixels(int newMaximumFeatureExtentForEnvelopeRenderingInPixels)(Code)



setMinimumFeatureExtentForAnyRenderingInPixels
public void setMinimumFeatureExtentForAnyRenderingInPixels(int newMinimumFeatureExtentForAnyRenderingInPixels)(Code)



setStatusMessage
public void setStatusMessage(String message)(Code)



setTimeMessage
public void setTimeMessage(String message)(Code)



this_componentShown
void this_componentShown(ComponentEvent e)(Code)



this_windowClosing
void this_windowClosing(WindowEvent e)(Code)



toMessage
public static String toMessage(Throwable t)(Code)



warnUser
public void warnUser(String warning)(Code)



windowMenu_menuSelected
void windowMenu_menuSelected(MenuEvent e)(Code)



zoomChanged
public void zoomChanged(Envelope modelEnvelope)(Code)



Fields inherited from javax.swing.JFrame
final public static int EXIT_ON_CLOSE(Code)(Java Doc)
protected AccessibleContext accessibleContext(Code)(Java Doc)
protected JRootPane rootPane(Code)(Java Doc)
protected boolean rootPaneCheckingEnabled(Code)(Java Doc)

Methods inherited from javax.swing.JFrame
protected void addImpl(Component comp, Object constraints, int index)(Code)(Java Doc)
protected JRootPane createRootPane()(Code)(Java Doc)
protected void frameInit()(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public Container getContentPane()(Code)(Java Doc)
public int getDefaultCloseOperation()(Code)(Java Doc)
public Component getGlassPane()(Code)(Java Doc)
public Graphics getGraphics()(Code)(Java Doc)
public JMenuBar getJMenuBar()(Code)(Java Doc)
public JLayeredPane getLayeredPane()(Code)(Java Doc)
public JRootPane getRootPane()(Code)(Java Doc)
public TransferHandler getTransferHandler()(Code)(Java Doc)
public static boolean isDefaultLookAndFeelDecorated()(Code)(Java Doc)
protected boolean isRootPaneCheckingEnabled()(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
protected void processWindowEvent(WindowEvent e)(Code)(Java Doc)
public void remove(Component comp)(Code)(Java Doc)
public void repaint(long time, int x, int y, int width, int height)(Code)(Java Doc)
public void setContentPane(Container contentPane)(Code)(Java Doc)
public void setDefaultCloseOperation(int operation)(Code)(Java Doc)
public static void setDefaultLookAndFeelDecorated(boolean defaultLookAndFeelDecorated)(Code)(Java Doc)
public void setGlassPane(Component glassPane)(Code)(Java Doc)
public void setIconImage(Image image)(Code)(Java Doc)
public void setJMenuBar(JMenuBar menubar)(Code)(Java Doc)
public void setLayeredPane(JLayeredPane layeredPane)(Code)(Java Doc)
public void setLayout(LayoutManager manager)(Code)(Java Doc)
protected void setRootPane(JRootPane root)(Code)(Java Doc)
protected void setRootPaneCheckingEnabled(boolean enabled)(Code)(Java Doc)
public void setTransferHandler(TransferHandler newHandler)(Code)(Java Doc)
public void update(Graphics g)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.