Java Doc for MainFrame.java in  » Swing-Library » abeille-forms-designer » com » jeta » swingbuilder » gui » main » 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 » Swing Library » abeille forms designer » com.jeta.swingbuilder.gui.main 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.JFrame
   com.jeta.swingbuilder.gui.main.MainFrame

MainFrame
public class MainFrame extends JFrame implements ComponentSource,GridViewListener,ActionListener,JETAContainer,EditorManager(Code)
The main frame window for the application
author:
   Jeff Tassin


Field Summary
final public static  StringID_FRAME_BOUNDS
    
 FormEditorPopupMenum_form_popup
    

Constructor Summary
public  MainFrame()
    

Method Summary
public  voidactionPerformed(ActionEvent evt)
    
public  voidaddForm(FormEditor editor)
    
public  voidenableComponent(String commandId, boolean bEnable)
    
 voidformNameChanged(FormComponent fc)
     Called when the form component's path has changed.
public  TSButtonBargetButtonBar()
    
public  ComponentgetComponentByName(String compName)
    
public  ComponentFactorygetComponentFactory()
    
public  CollectiongetComponentsByName(String compName)
    
public  ComponentsToolBargetComponentsToolBar()
    
 ComponentgetCurrentControlsView()
    
public  FormEditorgetCurrentEditor()
     the editor that is currently active in the frame.
 FrameDockergetDocker()
    
public  FormEditorgetEditor(FormComponent form)
     the editor whose main form is the given form.
public  CollectiongetEditors()
    
public  FormComponentgetForm(String formId)
    
public  ProjectModelgetProject()
    
public  PropertyPaneContainergetPropertyContainer()
    
public  UIDirectorgetUIDirector()
    
public  voidgridChanged(GridViewEvent evt)
    
public  JMenuItemi18n_createMenuItem(String itemText, String actionCmd, KeyStroke keyAccelerator)
    
public  JButtoni18n_createToolBarButton(String cmd, String imageFile, String toolTip)
    
public  javax.swing.AbstractButtoni18n_createToolBarToggleButton(String cmd, String unselImage, String selImage, String toolTip)
    
public  booleanisSelectionTool()
    
public  voidreloadComponentsToolbar()
    
public  voidremoveForm(String formId)
     Removes the given form from the tabbed pane.
public  voidsetFocusSelected(boolean focus_sel)
    
public  voidsetProject(ProjectModel pmodel)
     Sets the current project.
public  voidsetSelectionTool()
    
public  voidshowForm(FormComponent fc)
     Selects the form in the frame.
 voidshutDown()
     Shuts down this frame.
 voidunitTest()
     Runs unit test routines on this Frame.
public  voidupdateModifiedStatus()
     EditorManager implementation.
public  voidupdateUI()
    

Field Detail
ID_FRAME_BOUNDS
final public static String ID_FRAME_BOUNDS(Code)



m_form_popup
FormEditorPopupMenu m_form_popup(Code)
Popup menu for right-context mouse clicks




Constructor Detail
MainFrame
public MainFrame()(Code)
ctor




Method Detail
actionPerformed
public void actionPerformed(ActionEvent evt)(Code)
Called when the button bar is updated



addForm
public void addForm(FormEditor editor)(Code)
Adds the given form to the tab window



enableComponent
public void enableComponent(String commandId, boolean bEnable)(Code)
Enables/Disables the menu/toolbar button associated with the commandid
Parameters:
  commandId - the id of the command whose button to enable/disable
Parameters:
  bEnable - true/false to enable/disable



formNameChanged
void formNameChanged(FormComponent fc)(Code)
Called when the form component's path has changed. We update the tab label in this case.



getButtonBar
public TSButtonBar getButtonBar()(Code)
the buttonbar that contains the property pane, FormSpec views,and CellConstaint view



getComponentByName
public Component getComponentByName(String compName)(Code)
JETAContainer implementation the component that is NOT a JMenuItem that has the given name



getComponentFactory
public ComponentFactory getComponentFactory()(Code)
ComponentSource imlementation



getComponentsByName
public Collection getComponentsByName(String compName)(Code)
JETAContainer implementation all components in this frame with the given name.



getComponentsToolBar
public ComponentsToolBar getComponentsToolBar()(Code)



getCurrentControlsView
Component getCurrentControlsView()(Code)
the current view in the button bar



getCurrentEditor
public FormEditor getCurrentEditor()(Code)
the editor that is currently active in the frame. Null isreturned if no editors are opened.



getDocker
FrameDocker getDocker()(Code)
Returns the object responsible for handling dock behavior for the properties window



getEditor
public FormEditor getEditor(FormComponent form)(Code)
the editor whose main form is the given form. If the given formis not opened in its own editor, null is returned.



getEditors
public Collection getEditors()(Code)
a collection of currently opened FormEditors



getForm
public FormComponent getForm(String formId)(Code)
the form that has the given id *if* it is opened in the frame.



getProject
public ProjectModel getProject()(Code)
the current project.



getPropertyContainer
public PropertyPaneContainer getPropertyContainer()(Code)
the property frame



getUIDirector
public UIDirector getUIDirector()(Code)
JETAContainer implementation



gridChanged
public void gridChanged(GridViewEvent evt)(Code)
GridViewListener implementation



i18n_createMenuItem
public JMenuItem i18n_createMenuItem(String itemText, String actionCmd, KeyStroke keyAccelerator)(Code)



i18n_createToolBarButton
public JButton i18n_createToolBarButton(String cmd, String imageFile, String toolTip)(Code)



i18n_createToolBarToggleButton
public javax.swing.AbstractButton i18n_createToolBarToggleButton(String cmd, String unselImage, String selImage, String toolTip)(Code)



isSelectionTool
public boolean isSelectionTool()(Code)
ComponentSource imlementation



reloadComponentsToolbar
public void reloadComponentsToolbar()(Code)
Reloads the components toolbar because it may have changed



removeForm
public void removeForm(String formId)(Code)
Removes the given form from the tabbed pane.



setFocusSelected
public void setFocusSelected(boolean focus_sel)(Code)
true if the focus manager is currently active



setProject
public void setProject(ProjectModel pmodel)(Code)
Sets the current project.



setSelectionTool
public void setSelectionTool()(Code)
Sets the active component factory to the selection tool



showForm
public void showForm(FormComponent fc)(Code)
Selects the form in the frame. If the form is not currently in the tab window, a new tab is added.



shutDown
void shutDown()(Code)
Shuts down this frame. Saves the frame state to the object store and Closes all open windows.



unitTest
void unitTest()(Code)
Runs unit test routines on this Frame.



updateModifiedStatus
public void updateModifiedStatus()(Code)
EditorManager implementation. Called when a form or forms have changed. This tells the EditorManager to update any modified indicators on the GUI if a form is modified/unmodified.



updateUI
public void updateUI()(Code)
Updates all child components when the look and feel has changed



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.