Java Doc for EditWinWidget.java in » Report » datavision-1.1.0 » jimm » datavision » gui » 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
»
Report
»
datavision 1.1.0
»
jimm.datavision.gui
Source Cross Reference
Class Diagram
Java Document (Java Doc)
java.lang
.Object
jimm.datavision.gui
.FieldWidget
jimm.datavision.gui
.EditWinWidget
All known Subclasses:
jimm.datavision.gui
.ParameterWidget
,
jimm.datavision.gui
.UserColumnWidget
,
jimm.datavision.gui
.FormulaWidget
,
EditWinWidget
abstract
public
class EditWinWidget extends
FieldWidget
(Code)
An abstract superclass for widgets that open separate windows used to edit the widget.
author:
Jim Menard,
jimm@io.com
Field Summary
protected
JDialog
editor
Constructor Summary
EditWinWidget
(
SectionWidget
sw,
Field
field)
Constructor.
Method Summary
public
void
actionPerformed
(
ActionEvent
e)
Performs some action based on the action command string (the menu item text).
protected
void
addCustomPopupItems
()
abstract
protected
JDialog
createEditor
()
Creates and returns a new frame suitable for editing this widget.
abstract
protected
String
getEditorLabel
()
Returns the name edit window's label (the prompt that goes before the text edit field).
abstract
protected
String
getEditorTitle
()
Returns the name edit window's title.
abstract
protected
String
getWidgetName
()
Returns the name string.
public
void
mouseClicked
(
MouseEvent
e)
if this is a double-click, start editing; else handle the mouse event like a normal field widget.
public
void
openEditor
()
Makes our text editable and starts editing.
protected
void
rename
()
Opens a name editor.
abstract
public
void
setWidgetName
(
String
newName)
Set editable object's name.
protected
void
updateEditor
()
Updates the editor.
Field Detail
editor
protected
JDialog
editor
(Code)
Constructor Detail
EditWinWidget
EditWinWidget(
SectionWidget
sw,
Field
field)
(Code)
Constructor.
Parameters:
sw - section widget in which the field's new widget will reside
Parameters:
field - a report field
Method Detail
actionPerformed
public
void actionPerformed(
ActionEvent
e)
(Code)
Performs some action based on the action command string (the menu item text).
addCustomPopupItems
protected
void addCustomPopupItems()
(Code)
createEditor
abstract
protected
JDialog
createEditor()
(Code)
Creates and returns a new frame suitable for editing this widget. a frame (window or dialog) used to edit the widget
getEditorLabel
abstract
protected
String
getEditorLabel()
(Code)
Returns the name edit window's label (the prompt that goes before the text edit field).
getEditorTitle
abstract
protected
String
getEditorTitle()
(Code)
Returns the name edit window's title.
getWidgetName
abstract
protected
String
getWidgetName()
(Code)
Returns the name string. the name to be edited
mouseClicked
public
void mouseClicked(
MouseEvent
e)
(Code)
if this is a double-click, start editing; else handle the mouse event like a normal field widget.
Parameters:
e - mouse event
openEditor
public
void openEditor()
(Code)
Makes our text editable and starts editing.
rename
protected
void rename()
(Code)
Opens a name editor.
setWidgetName
abstract
public
void setWidgetName(
String
newName)
(Code)
Set editable object's name. The new name is guaranteed not to be
null
.
Parameters:
newName - the new name string
updateEditor
protected
void updateEditor()
(Code)
Updates the editor. This method supplies default do-nothing behavior.
Fields inherited from
jimm.datavision.gui.FieldWidget
final
protected
static int ACTION_INACTION
(Code)
(Java Doc)
final
protected
static int ACTION_MOVE
(Code)
(Java Doc)
final
protected
static int ACTION_POPPING_UP_MENU
(Code)
(Java Doc)
final
protected
static int ACTION_STRETCH_BOTTOM
(Code)
(Java Doc)
final
protected
static int ACTION_STRETCH_LEFT
(Code)
(Java Doc)
final
protected
static int ACTION_STRETCH_RIGHT
(Code)
(Java Doc)
final
protected
static int ACTION_STRETCH_TOP
(Code)
(Java Doc)
final
protected
static int GRAB_EDGE_WIDTH
(Code)
(Java Doc)
final
protected
static int MIN_SIZE
(Code)
(Java Doc)
final
protected
static
Font
POPUP_FONT
(Code)
(Java Doc)
protected
int action
(Code)
(Java Doc)
protected
boolean actionStartedYet
(Code)
(Java Doc)
protected
JMenuItem
aggregatesMenuItem
(Code)
(Java Doc)
protected
JMenu
alignSubmenu
(Code)
(Java Doc)
protected
static
HashMap
componentMap
(Code)
(Java Doc)
protected
JMenuItem
formatMenuItem
(Code)
(Java Doc)
protected
boolean mouseChangedSelectedState
(Code)
(Java Doc)
protected
JMenuItem
nameItem
(Code)
(Java Doc)
protected
JPopupMenu
popup
(Code)
(Java Doc)
protected
PreMoveInfo
preMoveInfo
(Code)
(Java Doc)
protected
PreStretchInfo
preStretchInfo
(Code)
(Java Doc)
protected
SectionWidget
sectionWidget
(Code)
(Java Doc)
protected
boolean selected
(Code)
(Java Doc)
protected
JMenuItem
showOrHide
(Code)
(Java Doc)
protected
JMenu
sizeSubmenu
(Code)
(Java Doc)
protected
AbstractSwingField
swingField
(Code)
(Java Doc)
Methods inherited from
jimm.datavision.gui.FieldWidget
protected
int actionFromPosition(
MouseEvent
e)
(Code)
(Java Doc)
public
void actionPerformed(
ActionEvent
e)
(Code)
(Java Doc)
protected
void addCustomPopupItems()
(Code)
(Java Doc)
public
void align(int which,
Field
prototype)
(Code)
(Java Doc)
protected
void buildPopupMenu()
(Code)
(Java Doc)
protected
void cursorForPosition(
MouseEvent
e)
(Code)
(Java Doc)
protected
void delete()
(Code)
(Java Doc)
public
void doDelete()
(Code)
(Java Doc)
void doDrag(int action,
java.awt.Point
mouseScreenPos)
(Code)
(Java Doc)
void doSelect(boolean makeSelected)
(Code)
(Java Doc)
public
void doSetVisibility(boolean newVisibility)
(Code)
(Java Doc)
public
void dragEnter(
DropTargetDragEvent
e)
(Code)
(Java Doc)
public
void dragExit(
DropTargetEvent
e)
(Code)
(Java Doc)
public
void dragOver(
DropTargetDragEvent
e)
(Code)
(Java Doc)
public
void drop(
DropTargetDropEvent
e)
(Code)
(Java Doc)
public
void dropActionChanged(
DropTargetDragEvent
e)
(Code)
(Java Doc)
protected
void enableMenuItems()
(Code)
(Java Doc)
protected
void finalize() throws
Throwable
(Code)
(Java Doc)
static
FieldWidget
findFieldWidgetOwning(
Object
c)
(Code)
(Java Doc)
Color
getColor()
(Code)
(Java Doc)
public
JComponent
getComponent()
(Code)
(Java Doc)
public
Field
getField()
(Code)
(Java Doc)
protected
String
getPopupNameText()
(Code)
(Java Doc)
public
PreMoveInfo
getPreMoveInfo()
(Code)
(Java Doc)
public
SectionWidget
getSectionWidget()
(Code)
(Java Doc)
boolean isSelected()
(Code)
(Java Doc)
public
void keyPressed(
KeyEvent
ke)
(Code)
(Java Doc)
public
void keyReleased(
KeyEvent
ke)
(Code)
(Java Doc)
public
void keyTyped(
KeyEvent
ke)
(Code)
(Java Doc)
public
void mouseClicked(
MouseEvent
e)
(Code)
(Java Doc)
public
void mouseDragged(
MouseEvent
e)
(Code)
(Java Doc)
public
void mouseEntered(
MouseEvent
e)
(Code)
(Java Doc)
public
void mouseExited(
MouseEvent
e)
(Code)
(Java Doc)
public
void mouseMoved(
MouseEvent
e)
(Code)
(Java Doc)
protected
boolean mousePressReleaseCommon(
MouseEvent
e)
(Code)
(Java Doc)
public
void mousePressed(
MouseEvent
e)
(Code)
(Java Doc)
public
void mouseReleased(
MouseEvent
e)
(Code)
(Java Doc)
public
void moveToSection(
SectionWidget
sw)
(Code)
(Java Doc)
public
void pickUp(
java.awt.Point
mouseScreenPos)
(Code)
(Java Doc)
public
void putDown(
SectionWidget
sw)
(Code)
(Java Doc)
protected
void resetCursor()
(Code)
(Java Doc)
void select(boolean deselectOthers)
(Code)
(Java Doc)
protected
void setVisibilityLook()
(Code)
(Java Doc)
protected
void showPopupMenu(
MouseEvent
e)
(Code)
(Java Doc)
public
void size(int which,
Field
prototype)
(Code)
(Java Doc)
void snapBack()
(Code)
(Java Doc)
public
void startStretching(
java.awt.Point
mouseScreenPos)
(Code)
(Java Doc)
public
void stopStretching()
(Code)
(Java Doc)
public
String
toString()
(Code)
(Java Doc)
void toggleVisibility()
(Code)
(Java Doc)
public
void update(
Observable
obj,
Object
arg)
(Code)
(Java Doc)
public
boolean usesFormat()
(Code)
(Java Doc)
Methods inherited from
java.lang.Object
native
protected
Object
clone() throws
CloneNotSupportedException
(Code)
(Java Doc)
public
boolean equals(
Object
obj)
(Code)
(Java Doc)
protected
void finalize() throws
Throwable
(Code)
(Java Doc)
final native
public
Class
> getClass()
(Code)
(Java Doc)
native
public
int hashCode()
(Code)
(Java Doc)
final native
public
void notify()
(Code)
(Java Doc)
final native
public
void notifyAll()
(Code)
(Java Doc)
public
String
toString()
(Code)
(Java Doc)
final native
public
void wait(long timeout) throws
InterruptedException
(Code)
(Java Doc)
final
public
void wait(long timeout, int nanos) throws
InterruptedException
(Code)
(Java Doc)
final
public
void wait() throws
InterruptedException
(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.