org.openpermis.editor.policy
Class FrameInjector

java.lang.Object
  extended by org.picocontainer.injectors.FactoryInjector<org.jdesktop.swingx.JXFrame>
      extended by org.openpermis.editor.policy.FrameInjector
All Implemented Interfaces:
org.picocontainer.ComponentAdapter<org.jdesktop.swingx.JXFrame>, org.picocontainer.Injector<org.jdesktop.swingx.JXFrame>

public class FrameInjector
extends org.picocontainer.injectors.FactoryInjector<org.jdesktop.swingx.JXFrame>

Pico factory injector that creates JXFrame for policy views.

Since:
0.1.0

Nested Class Summary
 
Nested classes/interfaces inherited from class org.picocontainer.injectors.FactoryInjector
org.picocontainer.injectors.FactoryInjector.CantWorkItOut
 
Nested classes/interfaces inherited from interface org.picocontainer.ComponentAdapter
org.picocontainer.ComponentAdapter.NOTHING
 
Field Summary
private static String ICON
          Application resource key for the default image icon of frames created.
private static String NAME
          The default name used to store the frame state.
private static String SIZE
          Application resource key for the default size of frames created.
private static String TITLE
          Application resource key for the default title of frames created.
 
Constructor Summary
FrameInjector()
           
 
Method Summary
 org.jdesktop.swingx.JXFrame getComponentInstance(org.picocontainer.PicoContainer container)
          Deprecated. No longer supported as of Pico 2.2.
 org.jdesktop.swingx.JXFrame getComponentInstance(org.picocontainer.PicoContainer container, Type into)
           
 
Methods inherited from class org.picocontainer.injectors.FactoryInjector
accept, componentHasLifecycle, decorateComponentInstance, dispose, findAdapterOfType, getClass, getComponentImplementation, getComponentKey, getDelegate, getDescriptor, getTypeArguments, start, stop, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TITLE

private static final String TITLE
Application resource key for the default title of frames created.

Constant Field Value:
"Application.frameTitle"
Since:
0.1.0

ICON

private static final String ICON
Application resource key for the default image icon of frames created.

Constant Field Value:
"Application.frameIcon"
Since:
0.1.0

SIZE

private static final String SIZE
Application resource key for the default size of frames created.

Constant Field Value:
"Application.frameSize"
Since:
0.1.0

NAME

private static final String NAME
The default name used to store the frame state.

The swing application framework will use this name to store the frame state, will create a file called window.xml in the application settings directory.

Constant Field Value:
"window"
Since:
0.1.0
Constructor Detail

FrameInjector

public FrameInjector()
Method Detail

getComponentInstance

@Deprecated
public org.jdesktop.swingx.JXFrame getComponentInstance(org.picocontainer.PicoContainer container)
Deprecated. No longer supported as of Pico 2.2.

Specified by:
getComponentInstance in interface org.picocontainer.ComponentAdapter<org.jdesktop.swingx.JXFrame>
Overrides:
getComponentInstance in class org.picocontainer.injectors.FactoryInjector<org.jdesktop.swingx.JXFrame>
Since:
0.3.0

getComponentInstance

public org.jdesktop.swingx.JXFrame getComponentInstance(org.picocontainer.PicoContainer container,
                                                        Type into)
Specified by:
getComponentInstance in interface org.picocontainer.ComponentAdapter<org.jdesktop.swingx.JXFrame>
Specified by:
getComponentInstance in class org.picocontainer.injectors.FactoryInjector<org.jdesktop.swingx.JXFrame>
Since:
0.1.0


PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:15:22
Copyright (c) 2002-2007 Ergon Informatik AG