com.didkovsky.portview
Interface ViewFactory
- All Known Implementing Classes:
- ViewFactoryAWT, ViewFactorySwing
public interface ViewFactory
PortView Factory. Defines an interface for creating UI components independent
of implementation. AWT and Swing implementations of ViewFactory are included
in com.didkovsky.portview.swing and com.didkovsky.portview.awt
- Author:
- Nick Didkovsky, (c) 2004 All rights reserved, Email:
didkovn@mail.rockefeller.edu
Field Summary |
static int |
AWT
|
static int |
SWING
|
AWT
static final int AWT
- See Also:
- Constant Field Values
SWING
static final int SWING
- See Also:
- Constant Field Values
createFrame
PVFrame createFrame()
createFrame
PVFrame createFrame(java.lang.String title)
createDialog
PVDialog createDialog(java.awt.Frame owner,
boolean modal)
createMenuBar
PVMenuBar createMenuBar()
createMenu
PVMenu createMenu(java.lang.String text)
createMenuItem
PVMenuItem createMenuItem(java.lang.String text)
createMenuItem
PVMenuItem createMenuItem(java.lang.String string,
int shortcutKey)
createCheckboxMenuItem
PVCheckboxMenuItem createCheckboxMenuItem(java.lang.String text,
boolean b)
createCheckbox
PVCheckbox createCheckbox(java.lang.String text)
createCheckbox
PVCheckbox createCheckbox(java.lang.String text,
boolean b)
createCheckbox
PVCheckbox createCheckbox(java.lang.String text,
PVRadioGroup group,
boolean b)
createRadioGroup
PVRadioGroup createRadioGroup()
- Used with PVCheckbox
createPanel
PVPanel createPanel()
createButton
PVButton createButton(java.lang.String string)
createLabel
PVLabel createLabel(java.lang.String string)
createCanvas
PVCanvas createCanvas()
createChoice
PVChoice createChoice()
createTextField
PVTextField createTextField(java.lang.String str)
createTextArea
PVTextArea createTextArea(int rows,
int cols)
getFactoryType
int getFactoryType()
createTextField
PVTextField createTextField(java.lang.String string,
int cols)
createScrollPane
PVScrollPane createScrollPane()