|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.japisoft.xmlpad.ComponentFactory
Here a factory for default swing elements used by the XMLContainer. User can use
it by creating a sub-class of the ComponentFactory class and call the
setFactory for overriding the default behavior, this it is possible
to replace any component used inside JXMLPad by your own.
XMLContainer| Method Summary | |
static com.japisoft.xmlpad.ComponentFactory |
getFactory()
|
ElementView |
getNewElementView(com.japisoft.xmlpad.XMLContainer container)
|
javax.swing.JSplitPane |
getNewHorizontalSplitPane()
create an horizontal oriented splitpane |
javax.swing.JPanel |
getNewPanel()
create a panel for editor and tree |
javax.swing.JPopupMenu |
getNewPopupMenu()
create a default popupMenu |
javax.swing.JScrollPane |
getNewScrollPane()
create a scrollpane for editor or tree |
TitledPanelHelper |
getNewTitledPanelHelper()
|
javax.swing.JToolBar |
getNewToolBar()
create a default toolBar |
javax.swing.JTree |
getNewTree()
create a default tee |
javax.swing.JSplitPane |
getNewVerticalSplitPane()
create a vertical oriented splitpane |
XMLEditor |
getNewXMLEditor()
create a default XMLEditor |
com.japisoft.xmlpad.IView |
getUIContainer(com.japisoft.xmlpad.XMLContainer container)
|
static void |
setFactory(com.japisoft.xmlpad.ComponentFactory factory)
Override the default factory by a subclass |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static com.japisoft.xmlpad.ComponentFactory getFactory()
public static void setFactory(com.japisoft.xmlpad.ComponentFactory factory)
public javax.swing.JScrollPane getNewScrollPane()
public javax.swing.JPanel getNewPanel()
public javax.swing.JSplitPane getNewVerticalSplitPane()
public javax.swing.JSplitPane getNewHorizontalSplitPane()
public javax.swing.JTree getNewTree()
public javax.swing.JToolBar getNewToolBar()
public XMLEditor getNewXMLEditor()
public javax.swing.JPopupMenu getNewPopupMenu()
public ElementView getNewElementView(com.japisoft.xmlpad.XMLContainer container)
public TitledPanelHelper getNewTitledPanelHelper()
public com.japisoft.xmlpad.IView getUIContainer(com.japisoft.xmlpad.XMLContainer container)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||