Java Doc for FormEditor.java in » Swing-Library » abeille-forms-designer » com » jeta » swingbuilder » gui » editor » 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.editor
Source Cross Reference
Class Diagram
Java Document (Java Doc)
javax.swing
.JPanel
com.jeta.open.gui.framework
.JETAPanel
com.jeta.swingbuilder.gui.editor
.FormEditor
FormEditor
public
class FormEditor extends
JETAPanel
implements
GridViewListener
(Code)
Displays a form and an editor grid.
author:
Jeff Tassin
Inner Class :
public
static class FormEditorLayout implements
LayoutManager
Constructor Summary
public
FormEditor
(
ComponentSource
compsrc,
FormComponent
comp)
public
FormEditor
(
ComponentSource
compsrc, int cols, int rows)
Method Summary
public
void
activate
()
public
void
addListener
(
GridViewListener
listener)
public
void
clearUndoableEdits
()
Clears all undo/redo edits for this editor.
public
void
deactivate
()
Deactivates this editor.
public
void
editHappened
(
FormUndoableEdit
edit)
public
ComponentSource
getComponentSource
()
public
static
FormEditor
getEditor
(
Component
comp)
the editor that is an ancestor of the given component.
public
DesignFormComponent
getForm
()
public
DesignFormComponent
getFormComponent
()
public
GridOverlay
getGridOverlay
()
public
String
getId
()
public
GridComponent
getSelectedComponent
()
public
GridOverlay
getTopOverlay
()
the top most overlay on the form.
public
FormComponent
getTopParent
()
the top most parent FormComponent.
public
EditorUndoManager
getUndoManager
()
public
void
gridChanged
(
GridViewEvent
evt)
public
boolean
isEmbedded
()
true if this form is an embedded form.
public
boolean
isFocusViewVisible
()
public
boolean
isLinked
()
true if this form is a linked form.
public
boolean
isModified
()
public
void
removeListener
(
GridViewListener
listener)
Removes the given GridListener from this editor.
public
void
saveFocusPolicy
()
public
void
setFocusViewVisible
(boolean bvisible)
public
void
setFormComponent
(
FormComponent
fc)
Sets the formcomponent that is this form.
boolean
showMargins
()
public
void
unitTest
()
Runs unit test routines on this editor.
public
void
updatePreferences
()
Updates the display based on user preferences.
public
void
updateUI
()
Override updateUI so we can update the scrollpane viewport background.
Constructor Detail
FormEditor
public
FormEditor(
ComponentSource
compsrc,
FormComponent
comp)
(Code)
ctor
FormEditor
public
FormEditor(
ComponentSource
compsrc, int cols, int rows)
(Code)
ctor
Parameters:
gmodel -
Method Detail
activate
public
void activate()
(Code)
Sets this editor as the currently active editor
addListener
public
void addListener(
GridViewListener
listener)
(Code)
Adds GridListeners to the form in this editor
clearUndoableEdits
public
void clearUndoableEdits()
(Code)
Clears all undo/redo edits for this editor. This is typically performed after the editor has been saved.
deactivate
public
void deactivate()
(Code)
Deactivates this editor.
editHappened
public
void editHappened(
FormUndoableEdit
edit)
(Code)
Invokes the given command and registers it with the UndoSupport
getComponentSource
public
ComponentSource
getComponentSource()
(Code)
the component source
getEditor
public
static
FormEditor
getEditor(
Component
comp)
(Code)
the editor that is an ancestor of the given component. If thecomp is not in a FormEditor hierarchy, null is returned.
getForm
public
DesignFormComponent
getForm()
(Code)
the formcomponent that is this form
getFormComponent
public
DesignFormComponent
getFormComponent()
(Code)
the formcomponent that is this form
getGridOverlay
public
GridOverlay
getGridOverlay()
(Code)
the overlay for the main form
getId
public
String
getId()
(Code)
the id of the form we are editing.
getSelectedComponent
public
GridComponent
getSelectedComponent()
(Code)
getTopOverlay
public
GridOverlay
getTopOverlay()
(Code)
the top most overlay on the form. This is the 1x1 form that isthe parent for the main form we are editing.
getTopParent
public
FormComponent
getTopParent()
(Code)
the top most parent FormComponent. This is the 1x1 form that isthe parent for the main form we are editing.
getUndoManager
public
EditorUndoManager
getUndoManager()
(Code)
the UndoManager for this editor
gridChanged
public
void gridChanged(
GridViewEvent
evt)
(Code)
GridViewListener implementation
isEmbedded
public
boolean isEmbedded()
(Code)
true if this form is an embedded form. An embedded form is storedwithin the parent form.
isFocusViewVisible
public
boolean isFocusViewVisible()
(Code)
true if the focus view is visible
isLinked
public
boolean isLinked()
(Code)
true if this form is a linked form. A linked form is one that isactually stored in a file.
isModified
public
boolean isModified()
(Code)
true if this form has been modified.
removeListener
public
void removeListener(
GridViewListener
listener)
(Code)
Removes the given GridListener from this editor.
saveFocusPolicy
public
void saveFocusPolicy()
(Code)
Saves the current focus policy
setFocusViewVisible
public
void setFocusViewVisible(boolean bvisible)
(Code)
Sets the focus view visible
setFormComponent
public
void setFormComponent(
FormComponent
fc) throws
FormException
(Code)
Sets the formcomponent that is this form. This call is made when the user performs a Save As.
showMargins
boolean showMargins()
(Code)
Returns true if the resize margins are visible (user set property)
unitTest
public
void unitTest()
(Code)
Runs unit test routines on this editor.
updatePreferences
public
void updatePreferences()
(Code)
Updates the display based on user preferences.
updateUI
public
void updateUI()
(Code)
Override updateUI so we can update the scrollpane viewport background.
Methods inherited from
com.jeta.open.gui.framework.JETAPanel
protected
ComponentFinder
createComponentFinder()
(Code)
(Java Doc)
public
void enableComponent(
String
commandId, boolean bEnable)
(Code)
(Java Doc)
public
Collection
getAllNamedComponents()
(Code)
(Java Doc)
public
boolean getBoolean(
String
compName)
(Code)
(Java Doc)
public
AbstractButton
getButton(
String
compName)
(Code)
(Java Doc)
public
JCheckBox
getCheckBox(
String
compName)
(Code)
(Java Doc)
public
JComboBox
getComboBox(
String
compName)
(Code)
(Java Doc)
public
Component
getComponentByName(
String
componentName)
(Code)
(Java Doc)
protected
ComponentFinder
getComponentFinder()
(Code)
(Java Doc)
public
Collection
getComponentsByName(
String
compName)
(Code)
(Java Doc)
public
JETAController
getController()
(Code)
(Java Doc)
public
int getInteger(
String
compName, int defaultValue)
(Code)
(Java Doc)
public
JLabel
getLabel(
String
compName)
(Code)
(Java Doc)
public
JList
getList(
String
compName)
(Code)
(Java Doc)
public
JPanel
getPanel(
String
compName)
(Code)
(Java Doc)
public
JProgressBar
getProgressBar(
String
compName)
(Code)
(Java Doc)
public
JRadioButton
getRadioButton(
String
compName)
(Code)
(Java Doc)
public
Object
getSelectedItem(
String
compName)
(Code)
(Java Doc)
public
JSpinner
getSpinner(
String
compName)
(Code)
(Java Doc)
public
JTabbedPane
getTabbedPane(
String
compName)
(Code)
(Java Doc)
public
JTable
getTable(
String
compName)
(Code)
(Java Doc)
public
String
getText(
String
compName)
(Code)
(Java Doc)
public
JTextComponent
getTextComponent(
String
compName)
(Code)
(Java Doc)
public
JTextField
getTextField(
String
compName)
(Code)
(Java Doc)
public
JTree
getTree(
String
compName)
(Code)
(Java Doc)
public
UIDirector
getUIDirector()
(Code)
(Java Doc)
public
boolean isSelected(
String
compName)
(Code)
(Java Doc)
public
void removeDescendent(
String
compName)
(Code)
(Java Doc)
public
static void removeFromParent(
Component
comp)
(Code)
(Java Doc)
public
void reset()
(Code)
(Java Doc)
protected
void setComponentFinder(
ComponentFinder
finder)
(Code)
(Java Doc)
public
void setController(
JETAController
controller)
(Code)
(Java Doc)
public
void setSelected(
String
compName, boolean sel)
(Code)
(Java Doc)
public
void setSelectedItem(
String
compName,
Object
value)
(Code)
(Java Doc)
public
void setText(
String
compName,
String
txt)
(Code)
(Java Doc)
public
void setUIDirector(
UIDirector
director)
(Code)
(Java Doc)
public
void setVisible(
String
compName, boolean bVisible)
(Code)
(Java Doc)
public
void updateComponents()
(Code)
(Java Doc)
public
void updateComponents(
java.util.EventObject
evt)
(Code)
(Java Doc)
Methods inherited from
javax.swing.JPanel
public
AccessibleContext
getAccessibleContext()
(Code)
(Java Doc)
public
PanelUI
getUI()
(Code)
(Java Doc)
public
String
getUIClassID()
(Code)
(Java Doc)
protected
String
paramString()
(Code)
(Java Doc)
public
void setUI(
PanelUI
ui)
(Code)
(Java Doc)
public
void updateUI()
(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.