com.japisoft.xmlpad
Interface IXMLPanel

All Known Implementing Classes:
XMLContainer

public interface IXMLPanel

Here an interface for using the XMLContainer. It gives the ability to manages several XMLContainer for one view.

Version:
1.0
Author:
(c) 2003 JAPISoft / Alexandre Brillant

Method Summary
 void dispose()
          Dispose this container
 XMLContainer getMainContainer()
           
 java.util.Iterator getProperties()
           
 java.lang.Object getProperty(java.lang.String name)
           
 java.lang.Object getProperty(java.lang.String name, java.lang.Object def)
           
 XMLContainer getSubContainer(java.lang.String type)
           
 javax.swing.JComponent getView()
           
 void setAutoDisposeMode(boolean disposeMode)
          Set the component in a special mode for freeing internal resource.
 void setProperty(java.lang.String name, java.lang.Object content)
          reset a component property
 

Method Detail

getMainContainer

public XMLContainer getMainContainer()
Returns:
the current container

getSubContainer

public XMLContainer getSubContainer(java.lang.String type)
Returns:
another container for this document type

getView

public javax.swing.JComponent getView()
Returns:
the global ui view

setProperty

public void setProperty(java.lang.String name,
                        java.lang.Object content)
reset a component property


getProperty

public java.lang.Object getProperty(java.lang.String name)
Returns:
a property value

getProperty

public java.lang.Object getProperty(java.lang.String name,
                                    java.lang.Object def)
Returns:
a property value of the default one

getProperties

public java.util.Iterator getProperties()
Returns:
a list of properties

dispose

public void dispose()
Dispose this container


setAutoDisposeMode

public void setAutoDisposeMode(boolean disposeMode)
Set the component in a special mode for freeing internal resource. By default to false



Copyright © 2006 JAPISoft. All Rights Reserved.