public class DForm extends DWindow implements org.kopi.galite.visual.form.UForm, org.kopi.galite.visual.visual.DPositionPanelListener
DWindow.DUndoableEditListener, DWindow.RedoAction, DWindow.UndoActionjavax.swing.JPanel.AccessibleJPaneljavax.swing.JComponent.AccessibleJComponent| Modifier and Type | Field and Description |
|---|---|
protected Environment |
environment |
focusManager, ICN_ASK, ICN_ERROR, ICN_NOTICE, ICN_WAIT, ICN_WARNING, redoAction, runtimeDebugInfo, undoActionlistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW| Constructor and Description |
|---|
DForm(org.kopi.galite.visual.form.VForm model)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addBlock(DBlock block,
int page) |
protected void |
createEditMenu()
Allow building of a customized edit menu.
|
protected DBlock |
createViewForBlock(org.kopi.galite.visual.form.VBlock blockModel) |
void |
currentBlockChanged(org.kopi.galite.visual.form.VBlock oldBlock,
org.kopi.galite.visual.form.VBlock newBlock) |
void |
displayFieldError(org.kopi.galite.visual.form.VFieldException fe) |
org.kopi.galite.visual.form.UBlock |
getBlockView(org.kopi.galite.visual.form.VBlock block) |
int |
getCurrentPage()
GET PAGE
|
Environment |
getEnvironment() |
org.kopi.galite.visual.form.VForm |
getModel()
Get Model
|
int |
getPageCount()
Returns the number of pages.
|
java.lang.String |
getPageTitle(int index)
Returns the title of the specified page.
|
java.lang.Throwable |
getRuntimeDebugInfo() |
void |
gotoFirstPosition()
Requests to go to the first position.
|
void |
gotoLastPosition()
Requests to go to the last position.
|
void |
gotoNextPosition()
Requests to go to the next position.
|
void |
gotoPage(int i) |
void |
gotoPosition(int posno)
Requests to go to the specified position.
|
void |
gotoPrevPosition()
Requests to go to the previous position.
|
void |
launchDocumentPreview(java.lang.String file)
Show document preview
|
org.kopi.galite.visual.util.PrintJob |
printForm() |
void |
printSnapshot()
Print a snapshot of all blocks
|
void |
release()
Release: we definitively don't want anymore this window (JFrame)
|
void |
reportError(org.kopi.galite.visual.visual.VRuntimeException e)
Displays an error message.
|
void |
run()
start a block and enter in the good field (rec)
|
void |
setCurrentPage(int i)
SET CURRENT PAGE
|
void |
setFieldSearchOperator(int op)
setBlockRecords
inform user about nb records fetched and current one
|
askPostition, askUser, askUserImpl, build, close, close, closeWindow, createFrame, displayError, displayError, displayNotice, displayNotice, displayWarning, fileProduced, getActionByName, getContentPanel, getDMenuBar, getFrame, getInAction, getRedoAction, getReturnCode, getUndoableEditListener, getUndoAction, getUndoManager, modelClosed, performAction, performAsyncAction, performBasicAction, setCurrentJob, setInformationText, setModel, setProgressDialog, setStatePanel, setStatisticsText, setTitle, setTotalJobs, setUndoManager, setVisible, setWaitDialog, setWaitInfo, setWindowFocusEnabled, showOptionDialog, unsetProgressDialog, unsetWaitDialog, unsetWaitInfo, updateWaitDialogMessage, verifyNotInTransactiongetAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, updateadd, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcloseWindow, performBasicAction, setCurrentJob, setInformationText, setTitle, setTotalJobs, setWindowFocusEnabled, updateWaitDialogMessageisEnabled, isVisible, setEnabled, setVisiblesetWaitDialog, unsetWaitDialogsetWaitInfo, unsetWaitInfoprotected Environment environment
protected DBlock createViewForBlock(org.kopi.galite.visual.form.VBlock blockModel)
public java.lang.Throwable getRuntimeDebugInfo()
getRuntimeDebugInfo in interface org.kopi.galite.visual.form.UFormpublic void addBlock(DBlock block, int page)
protected void createEditMenu()
DWindowcreateEditMenu in class DWindowpublic void run()
throws org.kopi.galite.visual.visual.VException
public void reportError(org.kopi.galite.visual.visual.VRuntimeException e)
reportError in class DWindowpublic void displayFieldError(org.kopi.galite.visual.form.VFieldException fe)
public void gotoPage(int i)
public void gotoNextPosition()
gotoNextPosition in interface org.kopi.galite.visual.visual.DPositionPanelListenerpublic void gotoPrevPosition()
gotoPrevPosition in interface org.kopi.galite.visual.visual.DPositionPanelListenerpublic void gotoLastPosition()
gotoLastPosition in interface org.kopi.galite.visual.visual.DPositionPanelListenerpublic void gotoFirstPosition()
gotoFirstPosition in interface org.kopi.galite.visual.visual.DPositionPanelListenerpublic void gotoPosition(int posno)
gotoPosition in interface org.kopi.galite.visual.visual.DPositionPanelListenerpublic int getPageCount()
public java.lang.String getPageTitle(int index)
index - the index of the specified pagepublic int getCurrentPage()
public void setCurrentPage(int i)
public org.kopi.galite.visual.form.VForm getModel()
DWindowpublic void currentBlockChanged(org.kopi.galite.visual.form.VBlock oldBlock,
org.kopi.galite.visual.form.VBlock newBlock)
currentBlockChanged in interface org.kopi.galite.visual.form.FormListenerpublic void setFieldSearchOperator(int op)
setFieldSearchOperator in interface org.kopi.galite.visual.form.FormListenerpublic org.kopi.galite.visual.form.UBlock getBlockView(org.kopi.galite.visual.form.VBlock block)
getBlockView in interface org.kopi.galite.visual.form.UFormpublic void release()
DWindowpublic Environment getEnvironment()
public void launchDocumentPreview(java.lang.String file)
throws org.kopi.galite.visual.visual.VException
launchDocumentPreview in interface org.kopi.galite.visual.form.UFormorg.kopi.galite.visual.visual.VExceptionpublic void printSnapshot()
printSnapshot in interface org.kopi.galite.visual.form.UFormpublic org.kopi.galite.visual.util.PrintJob printForm()
throws org.kopi.galite.visual.visual.VException
printForm in interface org.kopi.galite.visual.form.UFormorg.kopi.galite.visual.visual.VException