|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JLayeredPane
bibliothek.gui.dock.station.OverpaintablePanel
bibliothek.gui.dock.security.SecureContainer
bibliothek.gui.dock.SplitDockStation
net.sourceforge.fixagora.basis.client.view.MainPanel
public class MainPanel
The Class MainPanel.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class bibliothek.gui.dock.SplitDockStation |
---|
bibliothek.gui.dock.SplitDockStation.Orientation |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
javax.swing.JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.BaselineResizeBehavior |
Field Summary |
---|
Fields inherited from class bibliothek.gui.dock.SplitDockStation |
---|
LAYOUT_MANAGER, MAXIMIZE_ACCELERATOR, TITLE_ID |
Fields inherited from class javax.swing.JLayeredPane |
---|
DEFAULT_LAYER, DRAG_LAYER, FRAME_CONTENT_LAYER, LAYER_PROPERTY, MODAL_LAYER, PALETTE_LAYER, POPUP_LAYER |
Fields inherited from class javax.swing.JComponent |
---|
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
MainPanel(javax.swing.JFrame jFrame,
BasisClientConnector basisClientConnector)
Instantiates a new main panel. |
Method Summary | |
---|---|
AbstractBusinessObjectEditor |
addBusinessObjectEditor(AbstractBusinessObject abstractBusinessObject,
boolean refresh)
Adds the business object editor. |
void |
addMainPanelListener(MainPanelListener mainPanelListener)
Adds the main panel listener. |
void |
addPluginDockable(java.lang.String name,
bibliothek.gui.Dockable dockable)
Adds the plugin dockable. |
void |
checkAll(AbstractBusinessObject abstractBusinessObject)
Check all. |
void |
close(bibliothek.gui.Dockable dockable2)
Close. |
void |
closeAll()
Close all. |
void |
closeOthers(bibliothek.gui.Dockable otherDockable)
Close others. |
java.lang.Object |
copySubTree(BusinessObjectTreeNode subRoot,
BusinessObjectTreeNode sourceTree)
Copy sub tree. |
void |
doPersistResponse(PersistResponse persistResponse)
Do persist response. |
void |
doRemoveResponse(RemoveResponse removeResponse)
Do remove response. |
void |
doUpdateResponse(UpdateResponse updateResponse)
Do update response. |
void |
format(SpreadSheetEditorSheet.FormatAction formatAction)
Format. |
AbstractBusinessObject |
getAbstractBusinessObjectForId(long id)
Gets the abstract business object for id. |
AcceptorTreeDialog |
getAcceptorTreeDialog()
Gets the acceptor tree dialog. |
java.util.List<BankCalendar> |
getBankCalendars()
Gets the bank calendars. |
java.util.List<AbstractBusinessObject> |
getBusinessComponents()
Gets the business components. |
java.util.List<DataDictionary> |
getCompleteDataDictionaries()
Gets the complete data dictionaries. |
CounterpartyTreeDialog |
getCounterpartyTreeDialog()
Gets the counterparty tree dialog. |
java.util.List<DataDictionary> |
getDataDictionaries()
Gets the data dictionaries. |
bibliothek.gui.DockFrontend |
getDockFrontend()
Gets the dock frontend. |
InitiatorTreeDialog |
getInitiatorTreeDialog()
Gets the initiator tree dialog. |
javax.swing.JFrame |
getJFrame()
Gets the j frame. |
java.util.List<bibliothek.gui.Dockable> |
getNamedDockables()
Gets the named dockables. |
java.util.Set<java.lang.Long> |
getOpenBusinessObjects()
Gets the open business objects. |
SecurityTreeDialog |
getSecurityTreeDialog()
Gets the security tree dialog. |
int |
getSpreadSheetStatus()
Gets the spread sheet status. |
java.lang.String |
getXMLProperties()
Gets the xML properties. |
void |
init()
Inits the. |
boolean |
isSaveAllAllowed()
Checks if is save all allowed. |
boolean |
isSaveAllowed()
Checks if is save allowed. |
void |
onAbstractResponse(AbstractResponse abstractResponse)
On abstract response. |
void |
onConnected()
On connected. |
void |
onDisconnected()
On disconnected. |
void |
onLoginResponse(LoginResponse loginResponse)
On login response. |
void |
onMainPanelChanged()
On main panel changed. |
void |
onPersistResponse(PersistResponse persistResponse)
On persist response. |
void |
onRemoveResponse(RemoveResponse removeResponse)
On remove response. |
void |
onUpdateColumnFormatResponse(UpdateColumnFormatResponse updateColumnFormatResponse)
On update column format response. |
void |
onUpdateFullSheetResponse(UpdateFullSheetResponse updateFullSheetResponse)
On update full sheet response. |
void |
onUpdateResponse(UpdateResponse updateResponse)
On update response. |
void |
onUpdateRowFormatResponse(UpdateRowFormatResponse updateRowFormatResponse)
On update row format response. |
void |
onUpdateSheetCellFormatResponse(UpdateSheetCellFormatResponse updateSheetCellFormatResponse)
On update sheet cell format response. |
void |
onUpdateSheetCellResponse(UpdateSheetCellResponse updateSheetCellResponse)
On update sheet cell response. |
void |
onUpdateSheetConditionalFormatResponse(UpdateSheetConditionalFormatResponse updateSheetConditionalFormatResponse)
On update sheet conditional format response. |
void |
openBusinessObject(java.lang.String substring)
Open business object. |
void |
removeMainPanelListener(MainPanelListener mainPanelListener)
Removes the main panel listener. |
void |
save()
Save. |
void |
saveAll()
Save all. |
void |
setDialogNode(javax.swing.tree.DefaultMutableTreeNode dialogNode)
Sets the dialog node. |
void |
setHighlightKey(java.lang.String key)
Sets the highlight key. |
void |
setXMLProperties()
Sets the xml properties. |
void |
switchShowingFormula()
Switch showing formula. |
Methods inherited from class bibliothek.gui.dock.SplitDockStation |
---|
accept, accept, accept, addDockable, addDockableListener, addDockableStateListener, addDockHierarchyListener, addDockStationListener, addMouseInputListener, addSplitDockStationListener, asDockable, asDockStation, bind, canCompare, canDrag, canReplace, changed, compare, configureDisplayerHints, createTree, createTree, drag, draw, drop, drop, drop, drop, drop, drop, drop, drop, dropTree, dropTree, forget, getBorderSideSnapSize, getCombiner, getComponent, getController, getDirectActionOffers, getDisplayerFactory, getDisplayers, getDividerSize, getDockable, getDockableCount, getDockableLocationProperty, getDockablePathProperty, getDockablePlaceholderProperty, getDockableProperty, getDockParent, getDropInfo, getElement, getFactoryID, getFrontDockable, getFullScreen, getGlobalActionOffers, getIndirectActionOffers, getLocalActionOffers, getMinimumSize, getNode, getPaint, getPlaceholders, getPlaceholderStrategy, getPopupLocation, getRoot, getSideSnapSize, getSplitLayoutManager, getStationBounds, getTheme, getTitleIcon, getTitleText, getTitleToolTip, hasFullScreenAction, indexOfDockable, isAllowSideSnap, isContinousDisplay, isDockableVisible, isExpandOnDoubleclick, isFullScreen, isInOverrideZone, isResizingEnabled, isStationVisible, isUsedAsTitle, isVisible, listBoundTitles, move, move, prepareDrop, prepareMove, removeAllDockables, removeDockable, removeDockableListener, removeDockableStateListener, removeDockHierarchyListener, removeDockStationListener, removeMouseInputListener, removePlaceholder, removePlaceholders, removeSplitDockStationListener, replace, replace, requestChildDockTitle, requestDockTitle, resetTitleIcon, setAllowSideSnap, setBorderSideSnapSize, setContinousDisplay, setController, setDividerSize, setDockParent, setExpandOnDoubleclick, setFrontDockable, setFullScreen, setFullScreenAction, setNextFullScreen, setPlaceholders, setPlaceholderStrategy, setResizingEnabled, setSideSnapSize, setSplitLayoutManager, setTitleIcon, setTitleText, setTitleToolTip, shouldFocus, shouldTransfersFocus, toString, unbind, updateBounds, updateTheme, visit |
Methods inherited from class bibliothek.gui.dock.station.OverpaintablePanel |
---|
doLayout, getBasePane, getContentPane, setBasePane, setContentPane |
Methods inherited from class javax.swing.JLayeredPane |
---|
getAccessibleContext, getComponentCountInLayer, getComponentsInLayer, getIndexOf, getLayer, getLayer, getLayeredPaneAbove, getPosition, highestLayer, isOptimizedDrawingEnabled, lowestLayer, moveToBack, moveToFront, paint, putLayer, remove, removeAll, setLayer, setLayer, setPosition |
Methods inherited from class javax.swing.JComponent |
---|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, 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, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI |
Methods inherited from class java.awt.Container |
---|
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, 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, remove, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate |
Methods inherited from class java.awt.Component |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, 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, hide, 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, 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, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MainPanel(javax.swing.JFrame jFrame, BasisClientConnector basisClientConnector)
jFrame
- the j framebasisClientConnector
- the basis client connectorMethod Detail |
---|
public AbstractBusinessObjectEditor addBusinessObjectEditor(AbstractBusinessObject abstractBusinessObject, boolean refresh)
abstractBusinessObject
- the abstract business objectrefresh
- the refresh
public void addPluginDockable(java.lang.String name, bibliothek.gui.Dockable dockable)
name
- the namedockable
- the dockablepublic void addMainPanelListener(MainPanelListener mainPanelListener)
mainPanelListener
- the main panel listenerpublic void removeMainPanelListener(MainPanelListener mainPanelListener)
mainPanelListener
- the main panel listenerpublic void onMainPanelChanged()
public javax.swing.JFrame getJFrame()
public void save()
public boolean isSaveAllowed()
public int getSpreadSheetStatus()
public void format(SpreadSheetEditorSheet.FormatAction formatAction)
formatAction
- the format actionpublic bibliothek.gui.DockFrontend getDockFrontend()
public void saveAll()
public java.util.Set<java.lang.Long> getOpenBusinessObjects()
public java.lang.String getXMLProperties()
public void setXMLProperties()
public boolean isSaveAllAllowed()
public java.util.List<bibliothek.gui.Dockable> getNamedDockables()
public void onConnected()
BasisClientConnectorListener
onConnected
in interface BasisClientConnectorListener
public void onDisconnected()
BasisClientConnectorListener
onDisconnected
in interface BasisClientConnectorListener
public void onAbstractResponse(AbstractResponse abstractResponse)
BasisClientConnectorListener
onAbstractResponse
in interface BasisClientConnectorListener
abstractResponse
- the abstract responsepublic void onLoginResponse(LoginResponse loginResponse)
BasisResponses
onLoginResponse
in interface BasisResponses
loginResponse
- the login responsepublic void doPersistResponse(PersistResponse persistResponse)
persistResponse
- the persist responsepublic void doUpdateResponse(UpdateResponse updateResponse)
updateResponse
- the update responsepublic void doRemoveResponse(RemoveResponse removeResponse)
removeResponse
- the remove responsepublic void checkAll(AbstractBusinessObject abstractBusinessObject)
abstractBusinessObject
- the abstract business objectpublic SecurityTreeDialog getSecurityTreeDialog()
public CounterpartyTreeDialog getCounterpartyTreeDialog()
public java.util.List<DataDictionary> getDataDictionaries()
public void onUpdateSheetCellResponse(UpdateSheetCellResponse updateSheetCellResponse)
BasisResponses
onUpdateSheetCellResponse
in interface BasisResponses
updateSheetCellResponse
- the update sheet cell responsepublic void onUpdateSheetCellFormatResponse(UpdateSheetCellFormatResponse updateSheetCellFormatResponse)
BasisResponses
onUpdateSheetCellFormatResponse
in interface BasisResponses
updateSheetCellFormatResponse
- the update sheet cell format responsepublic void onUpdateColumnFormatResponse(UpdateColumnFormatResponse updateColumnFormatResponse)
BasisResponses
onUpdateColumnFormatResponse
in interface BasisResponses
updateColumnFormatResponse
- the update column format responsepublic void onUpdateRowFormatResponse(UpdateRowFormatResponse updateRowFormatResponse)
BasisResponses
onUpdateRowFormatResponse
in interface BasisResponses
updateRowFormatResponse
- the update row format responsepublic void onUpdateSheetConditionalFormatResponse(UpdateSheetConditionalFormatResponse updateSheetConditionalFormatResponse)
BasisResponses
onUpdateSheetConditionalFormatResponse
in interface BasisResponses
updateSheetConditionalFormatResponse
- the update sheet conditional format responsepublic void onUpdateFullSheetResponse(UpdateFullSheetResponse updateFullSheetResponse)
BasisResponses
onUpdateFullSheetResponse
in interface BasisResponses
updateFullSheetResponse
- the update full sheet responsepublic void switchShowingFormula()
public java.util.List<DataDictionary> getCompleteDataDictionaries()
public void setDialogNode(javax.swing.tree.DefaultMutableTreeNode dialogNode)
dialogNode
- the new dialog nodepublic java.util.List<AbstractBusinessObject> getBusinessComponents()
public InitiatorTreeDialog getInitiatorTreeDialog()
public AcceptorTreeDialog getAcceptorTreeDialog()
public void close(bibliothek.gui.Dockable dockable2)
dockable2
- the dockable2public void closeAll()
public void openBusinessObject(java.lang.String substring)
substring
- the substringpublic java.lang.Object copySubTree(BusinessObjectTreeNode subRoot, BusinessObjectTreeNode sourceTree)
subRoot
- the sub rootsourceTree
- the source tree
public AbstractBusinessObject getAbstractBusinessObjectForId(long id)
id
- the id
public java.util.List<BankCalendar> getBankCalendars()
public void onPersistResponse(PersistResponse persistResponse)
BasisResponses
onPersistResponse
in interface BasisResponses
persistResponse
- the persist responsepublic void onUpdateResponse(UpdateResponse updateResponse)
BasisResponses
onUpdateResponse
in interface BasisResponses
updateResponse
- the update responsepublic void onRemoveResponse(RemoveResponse removeResponse)
BasisResponses
onRemoveResponse
in interface BasisResponses
removeResponse
- the remove responsepublic void setHighlightKey(java.lang.String key)
BasisClientConnectorListener
setHighlightKey
in interface BasisClientConnectorListener
key
- the new highlight keypublic void init()
public void closeOthers(bibliothek.gui.Dockable otherDockable)
otherDockable
- the other dockable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |