Java Doc for DefaultContainer.java in » Mail-Clients » columba-1.4 » org » columba » core » gui » frame » 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
»
Mail Clients
»
columba 1.4
»
org.columba.core.gui.frame
Source Cross Reference
Class Diagram
Java Document (Java Doc)
java.awt
.Frame
javax.swing
.JFrame
org.columba.core.gui.frame
.DefaultContainer
DefaultContainer
public
class DefaultContainer extends
JFrame
implements
IContainer
,
WindowListener
,
IFrameMediatorListener
(Code)
author:
fdietz
Field Summary
final
protected
static int
DEFAULT_HEIGHT
final
protected
static int
DEFAULT_WIDTH
protected
JPanel
contentPane
protected
EventListenerList
listenerList
protected
ExtendableMenuBar
menubar
protected
StatusBar
statusBar
protected
boolean
switchedFrameMediator
protected
ExtendableToolBar
toolbar
Constructor Summary
public
DefaultContainer
(
DefaultFrameController
mediator)
public
DefaultContainer
(
ViewItem
viewItem)
Method Summary
public
void
addListener
(
IContainerListener
l)
public
void
addToolBar
(
JComponent
c)
public
void
close
()
Save window properties and close the window.
public
void
closed
(
FrameEvent
event)
public
void
enableToolBar
(
String
id, boolean enable)
public
void
extendMenu
(
IFrameMediator
mediator,
InputStream
is)
public
void
extendToolbar
(
IFrameMediator
mediator,
InputStream
is)
public
void
fireComponentChanged
(
IFrameMediator
mediator)
public
JPanel
getContentPanel
()
public
JFrame
getFrame
()
public
IFrameMediator
getFrameMediator
()
public
IStatusBar
getStatusBar
()
public
JToolBar
getToolBar
()
public
ViewItem
getViewItem
()
protected
void
initComponents
()
public
boolean
isToolBarEnabled
(
String
id)
public
void
layoutChanged
(
FrameEvent
event)
public
void
loadPositions
(
ViewItem
viewItem)
public
void
removeListener
(
IContainerListener
l)
public
void
setCloseOperation
(boolean close)
public
void
setContentPane
(
JPanel
view)
public
void
setFrameMediator
(
IFrameMediator
m)
public
void
setTitle
(
String
arg0)
public
void
setToolBar
(
JToolBar
toolbar)
public
void
setWindowName
(
String
name)
public
void
statusMessageChanged
(
FrameEvent
event)
public
void
switchFrameMediator
(
IFrameMediator
m)
public
void
switchedComponent
(
FrameEvent
event)
public
void
taskStatusChanged
(
FrameEvent
event)
public
void
titleChanged
(
FrameEvent
event)
public
void
toolBarVisibilityChanged
(
FrameEvent
event)
public
void
visibilityChanged
(
FrameEvent
event)
public
void
windowActivated
(
WindowEvent
arg0)
public
void
windowClosed
(
WindowEvent
arg0)
public
void
windowClosing
(
WindowEvent
arg0)
public
void
windowDeactivated
(
WindowEvent
arg0)
public
void
windowDeiconified
(
WindowEvent
arg0)
public
void
windowIconified
(
WindowEvent
arg0)
public
void
windowOpened
(
WindowEvent
arg0)
Field Detail
DEFAULT_HEIGHT
final
protected
static int DEFAULT_HEIGHT
(Code)
DEFAULT_WIDTH
final
protected
static int DEFAULT_WIDTH
(Code)
contentPane
protected
JPanel
contentPane
(Code)
listenerList
protected
EventListenerList
listenerList
(Code)
menubar
protected
ExtendableMenuBar
menubar
(Code)
statusBar
protected
StatusBar
statusBar
(Code)
switchedFrameMediator
protected
boolean switchedFrameMediator
(Code)
toolbar
protected
ExtendableToolBar
toolbar
(Code)
Constructor Detail
DefaultContainer
public
DefaultContainer(
DefaultFrameController
mediator)
(Code)
DefaultContainer
public
DefaultContainer(
ViewItem
viewItem)
(Code)
Method Detail
addListener
public
void addListener(
IContainerListener
l)
(Code)
event listener ******************************
addToolBar
public
void addToolBar(
JComponent
c)
(Code)
See Also:
org.columba.api.gui.frame.IContainer.addToolBar(javax.swing.JComponent)
close
public
void close()
(Code)
Save window properties and close the window. This includes telling the frame model that this window/frame is closing, so it can be "unregistered" correctly
closed
public
void closed(
FrameEvent
event)
(Code)
enableToolBar
public
void enableToolBar(
String
id, boolean enable)
(Code)
Enable/Disable toolbar configuration
Parameters:
id - ID of controller
Parameters:
enable - true/false
extendMenu
public
void extendMenu(
IFrameMediator
mediator,
InputStream
is)
(Code)
See Also:
org.columba.api.gui.frame.IContainer.extendMenu(org.columba.api.gui.frame.IFrameMediatorjava.io.InputStream)
extendToolbar
public
void extendToolbar(
IFrameMediator
mediator,
InputStream
is)
(Code)
See Also:
org.columba.api.gui.frame.View.extendToolbar(org.columba.core.xml.XmlElement)
fireComponentChanged
public
void fireComponentChanged(
IFrameMediator
mediator)
(Code)
getContentPanel
public
JPanel
getContentPanel()
(Code)
getFrame
public
JFrame
getFrame()
(Code)
See Also:
org.columba.api.gui.frame.View.getFrame
getFrameMediator
public
IFrameMediator
getFrameMediator()
(Code)
See Also:
org.columba.api.gui.frame.IContainer.getFrameMediator
getStatusBar
public
IStatusBar
getStatusBar()
(Code)
statusbar
getToolBar
public
JToolBar
getToolBar()
(Code)
See Also:
org.columba.api.gui.frame.View.getToolBar
getViewItem
public
ViewItem
getViewItem()
(Code)
See Also:
org.columba.api.gui.frame.IContainer.getViewItem
initComponents
protected
void initComponents()
(Code)
isToolBarEnabled
public
boolean isToolBarEnabled(
String
id)
(Code)
Returns true if the toolbar is enabled
Parameters:
id - ID of controller true, if toolbar is enabled, false otherwise
layoutChanged
public
void layoutChanged(
FrameEvent
event)
(Code)
loadPositions
public
void loadPositions(
ViewItem
viewItem)
(Code)
Load the window position, size and maximization state
removeListener
public
void removeListener(
IContainerListener
l)
(Code)
setCloseOperation
public
void setCloseOperation(boolean close)
(Code)
See Also:
org.columba.api.gui.frame.IContainer.setCloseOperation(boolean)
setContentPane
public
void setContentPane(
JPanel
view)
(Code)
See Also:
org.columba.api.gui.frame.View.setContentPane(org.columba.api.gui.frame.neu.FrameView)
setFrameMediator
public
void setFrameMediator(
IFrameMediator
m)
(Code)
See Also:
org.columba.api.gui.frame.IContainer.setFrameMediator(org.columba.api.gui.frame.IFrameMediator)
setTitle
public
void setTitle(
String
arg0)
(Code)
See Also:
java.awt.Frame.setTitle(java.lang.String)
setToolBar
public
void setToolBar(
JToolBar
toolbar)
(Code)
See Also:
org.columba.api.gui.frame.IContainer.setToolBar(org.columba.core.gui.toolbar.ToolBar)
setWindowName
public
void setWindowName(
String
name)
(Code)
See Also:
org.columba.api.gui.frame.IContainer.setWindowName(java.lang.String)
statusMessageChanged
public
void statusMessageChanged(
FrameEvent
event)
(Code)
switchFrameMediator
public
void switchFrameMediator(
IFrameMediator
m)
(Code)
See Also:
org.columba.api.gui.frame.IContainer.switchFrameMediator(org.columba.api.gui.frame.IFrameMediator)
switchedComponent
public
void switchedComponent(
FrameEvent
event)
(Code)
taskStatusChanged
public
void taskStatusChanged(
FrameEvent
event)
(Code)
titleChanged
public
void titleChanged(
FrameEvent
event)
(Code)
frame eventing ********************
toolBarVisibilityChanged
public
void toolBarVisibilityChanged(
FrameEvent
event)
(Code)
visibilityChanged
public
void visibilityChanged(
FrameEvent
event)
(Code)
windowActivated
public
void windowActivated(
WindowEvent
arg0)
(Code)
See Also:
java.awt.event.WindowListener.windowActivated(java.awt.event.WindowEvent)
windowClosed
public
void windowClosed(
WindowEvent
arg0)
(Code)
See Also:
java.awt.event.WindowListener.windowClosed(java.awt.event.WindowEvent)
windowClosing
public
void windowClosing(
WindowEvent
arg0)
(Code)
See Also:
java.awt.event.WindowListener.windowClosing(java.awt.event.WindowEvent)
windowDeactivated
public
void windowDeactivated(
WindowEvent
arg0)
(Code)
See Also:
java.awt.event.WindowListener.windowDeactivated(java.awt.event.WindowEvent)
windowDeiconified
public
void windowDeiconified(
WindowEvent
arg0)
(Code)
See Also:
java.awt.event.WindowListener.windowDeiconified(java.awt.event.WindowEvent)
windowIconified
public
void windowIconified(
WindowEvent
arg0)
(Code)
See Also:
java.awt.event.WindowListener.windowIconified(java.awt.event.WindowEvent)
windowOpened
public
void windowOpened(
WindowEvent
arg0)
(Code)
See Also:
java.awt.event.WindowListener.windowOpened(java.awt.event.WindowEvent)
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)
Fields inherited from
java.awt.Frame
final
public
static int CROSSHAIR_CURSOR
(Code)
(Java Doc)
final
public
static int DEFAULT_CURSOR
(Code)
(Java Doc)
final
public
static int E_RESIZE_CURSOR
(Code)
(Java Doc)
final
public
static int HAND_CURSOR
(Code)
(Java Doc)
final
public
static int ICONIFIED
(Code)
(Java Doc)
final
public
static int MAXIMIZED_BOTH
(Code)
(Java Doc)
final
public
static int MAXIMIZED_HORIZ
(Code)
(Java Doc)
final
public
static int MAXIMIZED_VERT
(Code)
(Java Doc)
final
public
static int MOVE_CURSOR
(Code)
(Java Doc)
final
public
static int NE_RESIZE_CURSOR
(Code)
(Java Doc)
final
public
static int NORMAL
(Code)
(Java Doc)
final
public
static int NW_RESIZE_CURSOR
(Code)
(Java Doc)
final
public
static int N_RESIZE_CURSOR
(Code)
(Java Doc)
final
public
static int SE_RESIZE_CURSOR
(Code)
(Java Doc)
final
public
static int SW_RESIZE_CURSOR
(Code)
(Java Doc)
final
public
static int S_RESIZE_CURSOR
(Code)
(Java Doc)
final
public
static int TEXT_CURSOR
(Code)
(Java Doc)
final
public
static int WAIT_CURSOR
(Code)
(Java Doc)
final
public
static int W_RESIZE_CURSOR
(Code)
(Java Doc)
Methods inherited from
java.awt.Frame
public
void addNotify()
(Code)
(Java Doc)
public
AccessibleContext
getAccessibleContext()
(Code)
(Java Doc)
public
int getCursorType()
(Code)
(Java Doc)
public
synchronized int getExtendedState()
(Code)
(Java Doc)
public
static
Frame
[] getFrames()
(Code)
(Java Doc)
public
Image
getIconImage()
(Code)
(Java Doc)
public
Rectangle
getMaximizedBounds()
(Code)
(Java Doc)
public
MenuBar
getMenuBar()
(Code)
(Java Doc)
public
synchronized int getState()
(Code)
(Java Doc)
public
String
getTitle()
(Code)
(Java Doc)
public
boolean isResizable()
(Code)
(Java Doc)
public
boolean isUndecorated()
(Code)
(Java Doc)
protected
String
paramString()
(Code)
(Java Doc)
public
void remove(
MenuComponent
m)
(Code)
(Java Doc)
public
void removeNotify()
(Code)
(Java Doc)
public
void setCursor(int cursorType)
(Code)
(Java Doc)
public
synchronized void setExtendedState(int state)
(Code)
(Java Doc)
public
void setIconImage(
Image
image)
(Code)
(Java Doc)
public
synchronized void setMaximizedBounds(
Rectangle
bounds)
(Code)
(Java Doc)
public
void setMenuBar(
MenuBar
mb)
(Code)
(Java Doc)
public
void setResizable(boolean resizable)
(Code)
(Java Doc)
public
synchronized void setState(int state)
(Code)
(Java Doc)
public
void setTitle(
String
title)
(Code)
(Java Doc)
public
void setUndecorated(boolean undecorated)
(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.