Skip navigation links


com.essbase.eas.essbase.ui.windows
Class PartitionFrame

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JInternalFrame
                  extended by com.essbase.eas.client.intf.CInternalFrame
                      extended by com.essbase.eas.essbase.ui.windows.EInternalFrame
                          extended by com.essbase.eas.essbase.ui.windows.PartitionFrame

All Implemented Interfaces:
PartitionInfo, PartitionSettingChangeListener, SaveAsRequestor, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants
Direct Known Subclasses:
ASOPartitionFrame

public class PartitionFrame
extends EInternalFrame
implements PartitionInfo, PartitionSettingChangeListener

Title: Description: Copyright: Copyright (c) 2001 Company: Hyperion Solutions Corporation

Version:
1.0
Author:
Sree Menon
See Also:
Serialized Form

Nested Class Summary
 class PartitionFrame.SavePartition
           

 

Nested classes/interfaces inherited from class javax.swing.JInternalFrame
javax.swing.JInternalFrame.AccessibleJInternalFrame, javax.swing.JInternalFrame.JDesktopIcon

 

Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent

 

Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer

 

Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy

 

Field Summary
protected  PartitionAreaPanel areaPanel
           
protected  boolean bCheckChanged
           
protected  boolean bNew
           
protected  PartitionGeneralPanel generalPanel
           
protected  PartitionMapPanel mapPanel
           
protected  DefaultPartition partition
           
protected  PartitionFrame.SavePartition saveRequestor
           
protected  java.lang.Object source
           
protected  Database sourceDb
           
protected  PartitionSourceTargetPanel sourcePanel
           
protected  CTabbedPane tab
           
protected  javax.swing.Action validateAction
           
protected  boolean validated
           
protected  PartitionValidationPanel validatePanel
           

 

Fields inherited from class com.essbase.eas.essbase.ui.windows.EInternalFrame
bundle

 

Fields inherited from class com.essbase.eas.client.intf.CInternalFrame
BOUNDS, bSaveBounds, cursor, dialogResult, disposed, frameIcon, helpAction, IS_TOOLBARSTATE_CHANGED, m_iCursor, m_toolbar, propertySupport, savedBounds

 

Fields inherited from class javax.swing.JInternalFrame
closable, CONTENT_PANE_PROPERTY, desktopIcon, FRAME_ICON_PROPERTY, GLASS_PANE_PROPERTY, iconable, IS_CLOSED_PROPERTY, IS_ICON_PROPERTY, IS_MAXIMUM_PROPERTY, IS_SELECTED_PROPERTY, isClosed, isIcon, isMaximum, isSelected, LAYERED_PANE_PROPERTY, maximizable, MENU_BAR_PROPERTY, resizable, ROOT_PANE_PROPERTY, rootPane, rootPaneCheckingEnabled, title, TITLE_PROPERTY

 

Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, 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 com.essbase.eas.essbase.ui.windows.partition.PartitionSettingChangeListener
PARTITION_LINKED, PARTITION_LINKED_VALUE, PARTITION_REPLICATED, PARTITION_REPLICATED_VALUE, PARTITION_TRANSPARENT, PARTITION_TRANSPARENT_VALUE, PARTITION_TYPE_CHANGED, TARGET_APP_CHANGED

 

Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE

 

Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH

 

Constructor Summary
protected PartitionFrame()
           
protected PartitionFrame(Database db)
           
protected PartitionFrame(DefaultPartition partition)
           
protected PartitionFrame(DefaultPartition partition, boolean bNew)
           

 

Method Summary
static PartitionFrame createPartition(Database database)
           
static PartitionFrame createPartition(Database db, DefaultPartition partition)
           
static PartitionFrame createPartition(DefaultPartition partition)
           
 void dispose()
           
 void doDefaultCloseAction()
           
protected  boolean doValidate(DefaultPartition part)
           
static PartitionFrame editPartition(DefaultPartition partition)
           
 void enableGeneralPanelCheckBoxes(boolean enable)
           
protected  java.lang.Class getBundleClass()
           
protected  java.awt.Component getButtonsPanel()
           
protected  PartitionGeneralPanel getGeneralPanel()
           
 java.lang.String getMsgTitle()
           
 java.lang.Object[] getObjectsToEmail()
           
 DefaultPartition getPartition()
           
 DefaultPartition getPartition(boolean check)
           
protected  java.awt.Component getScrolPane(java.awt.Component comp)
           
 Database getSourceDatabase()
           
protected  PartitionSourceTargetPanel getSourceTargetPanel()
           
protected  java.lang.String getString(java.lang.String key)
           
 Database getTargetDatabase()
           
 ServerComboBox getTargetServerCombo()
           
 void handleOk()
           
 void handleValidate()
           
protected  void initialize()
           
protected static boolean isASO(Database db, DefaultPartition part)
           
 boolean isEmailable()
           
 boolean isNew()
           
 boolean isPrintable()
           
 boolean isSaveable()
           
 boolean isThisYou(java.lang.Object obj)
          determines if this instance if for a particular object; for example, a database properties frame would return true if the object is the database.
 void modifyTargetApplications(boolean allowASOApps)
           
 void objectRemoved(java.lang.Object o)
          called by an ESourceAdapter when a child object has been removed.
protected  void saveAsPartition()
           
 void saveAsWindow()
           
 boolean savePartition(DefaultPartition part)
           
 void saveWindow()
           
 void setClosed(boolean closed)
           
 void setNew()
           
 void settingChanged(int settingType, java.lang.Object settingValue)
           
protected  void setTitle()
           
 void sourceRemoved()
          called by an ESourceAdapter when the source object has been remove or deleted.
 void sourceServerChanged(java.lang.Object server)
           
 void startPrinting(CPrintable print)
           
 void targetServerChanged(java.lang.Object server)
           
 void validated()
           
static void validatePartition(DefaultPartition partition)
           

 

Methods inherited from class com.essbase.eas.essbase.ui.windows.EInternalFrame
frameClosed, getUserObject, objectAdded, objectModified, saveAsObject, setUserObject, sourceConnected, sourceDisconnected, sourceDisconnecting, sourceRenamed

 

Methods inherited from class com.essbase.eas.client.intf.CInternalFrame
addPropertyChangeListener, addPropertyChangeListener, addToDesktop, emailWindow, fireStateChanged, frameActivated, frameClosing, frameDeactivated, frameDeiconified, frameIconified, frameOpened, getFrameMenus, getPrintMenuText, getPrintTip, getSaveAsMenuText, getSaveMenuText, getSaveTip, getToolbar, initExtraComponents, initSaveAsDialogComponents, isExiting, isModified, isPreviewable, jbInit, printPriviewWindow, printWindow, processEvent, removePropertyChangeListener, saveBounds, saveOnClosing, setCursor, setExiting, setFocusComponent, setReadBounds, setSaveBounds, setTitle, toString

 

Methods inherited from class javax.swing.JInternalFrame
addImpl, addInternalFrameListener, createRootPane, fireInternalFrameEvent, getAccessibleContext, getContentPane, getDefaultCloseOperation, getDesktopIcon, getDesktopPane, getFocusCycleRootAncestor, getFocusOwner, getFrameIcon, getGlassPane, getInternalFrameListeners, getJMenuBar, getLastCursor, getLayer, getLayeredPane, getMenuBar, getMostRecentFocusOwner, getNormalBounds, getRootPane, getTitle, getUI, getUIClassID, getWarningString, hide, isClosable, isClosed, isFocusCycleRoot, isIcon, isIconifiable, isMaximizable, isMaximum, isResizable, isRootPaneCheckingEnabled, isSelected, moveToBack, moveToFront, pack, paintComponent, paramString, remove, removeInternalFrameListener, reshape, restoreSubcomponentFocus, setClosable, setContentPane, setCursor, setDefaultCloseOperation, setDesktopIcon, setFocusCycleRoot, setFrameIcon, setGlassPane, setIcon, setIconifiable, setJMenuBar, setLayer, setLayer, setLayeredPane, setLayout, setMaximizable, setMaximum, setMenuBar, setNormalBounds, setResizable, setRootPane, setRootPaneCheckingEnabled, setSelected, setUI, show, toBack, toFront, updateUI

 

Methods inherited from class javax.swing.JComponent
addAncestorListener, 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, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, 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, 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, setVisible, unregisterKeyboardAction, update

 

Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, transferFocusBackward, transferFocusDownCycle, validate, validateTree

 

Methods inherited from class java.awt.Component
action, 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, 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, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, size, transferFocus, transferFocusUpCycle

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

partition

protected DefaultPartition partition

sourceDb

protected Database sourceDb

tab

protected CTabbedPane tab

source

protected java.lang.Object source

bNew

protected boolean bNew

validated

protected boolean validated

bCheckChanged

protected boolean bCheckChanged

generalPanel

protected PartitionGeneralPanel generalPanel

sourcePanel

protected PartitionSourceTargetPanel sourcePanel

areaPanel

protected PartitionAreaPanel areaPanel

mapPanel

protected PartitionMapPanel mapPanel

validatePanel

protected PartitionValidationPanel validatePanel

saveRequestor

protected PartitionFrame.SavePartition saveRequestor

validateAction

protected javax.swing.Action validateAction

Constructor Detail

PartitionFrame

protected PartitionFrame()

PartitionFrame

protected PartitionFrame(Database db)

PartitionFrame

protected PartitionFrame(DefaultPartition partition)

PartitionFrame

protected PartitionFrame(DefaultPartition partition,
                         boolean bNew)

Method Detail

isThisYou

public boolean isThisYou(java.lang.Object obj)
Description copied from class: CInternalFrame
determines if this instance if for a particular object; for example, a database properties frame would return true if the object is the database. Inherited classes should override this
Overrides:
isThisYou in class EInternalFrame

isPrintable

public boolean isPrintable()
Overrides:
isPrintable in class CInternalFrame

startPrinting

public void startPrinting(CPrintable print)
Overrides:
startPrinting in class CInternalFrame

initialize

protected void initialize()

getGeneralPanel

protected PartitionGeneralPanel getGeneralPanel()

getSourceTargetPanel

protected PartitionSourceTargetPanel getSourceTargetPanel()

getPartition

public DefaultPartition getPartition()
Specified by:
getPartition in interface PartitionInfo

getButtonsPanel

protected java.awt.Component getButtonsPanel()

getPartition

public DefaultPartition getPartition(boolean check)

getScrolPane

protected java.awt.Component getScrolPane(java.awt.Component comp)

saveAsPartition

protected void saveAsPartition()

handleOk

public void handleOk()

savePartition

public boolean savePartition(DefaultPartition part)

getString

protected java.lang.String getString(java.lang.String key)

validatePartition

public static void validatePartition(DefaultPartition partition)

getSourceDatabase

public Database getSourceDatabase()
Specified by:
getSourceDatabase in interface PartitionInfo

getTargetDatabase

public Database getTargetDatabase()
Specified by:
getTargetDatabase in interface PartitionInfo

setTitle

protected void setTitle()

doDefaultCloseAction

public void doDefaultCloseAction()
Overrides:
doDefaultCloseAction in class javax.swing.JInternalFrame

setClosed

public void setClosed(boolean closed)
               throws java.beans.PropertyVetoException
Overrides:
setClosed in class javax.swing.JInternalFrame
Throws:
java.beans.PropertyVetoException

getMsgTitle

public java.lang.String getMsgTitle()
Specified by:
getMsgTitle in interface PartitionInfo

isNew

public boolean isNew()
Specified by:
isNew in interface PartitionInfo

setNew

public void setNew()

saveWindow

public void saveWindow()
Overrides:
saveWindow in class CInternalFrame

saveAsWindow

public void saveAsWindow()
Overrides:
saveAsWindow in class CInternalFrame

isSaveable

public boolean isSaveable()
Overrides:
isSaveable in class CInternalFrame

sourceRemoved

public void sourceRemoved()
Description copied from class: EInternalFrame
called by an ESourceAdapter when the source object has been remove or deleted. Derived classes should override this method in order to properly handle this event.
Overrides:
sourceRemoved in class EInternalFrame

objectRemoved

public void objectRemoved(java.lang.Object o)
Description copied from class: EInternalFrame
called by an ESourceAdapter when a child object has been removed. Derived classes should override this method in order properly handle this event.
Overrides:
objectRemoved in class EInternalFrame

isEmailable

public boolean isEmailable()
Overrides:
isEmailable in class CInternalFrame

getObjectsToEmail

public java.lang.Object[] getObjectsToEmail()
Overrides:
getObjectsToEmail in class CInternalFrame

validated

public void validated()
Specified by:
validated in interface PartitionInfo

createPartition

public static PartitionFrame createPartition(Database database)

createPartition

public static PartitionFrame createPartition(DefaultPartition partition)

createPartition

public static PartitionFrame createPartition(Database db,
                                             DefaultPartition partition)

editPartition

public static PartitionFrame editPartition(DefaultPartition partition)

getTargetServerCombo

public ServerComboBox getTargetServerCombo()
Specified by:
getTargetServerCombo in interface PartitionInfo

sourceServerChanged

public void sourceServerChanged(java.lang.Object server)
Specified by:
sourceServerChanged in interface PartitionInfo

targetServerChanged

public void targetServerChanged(java.lang.Object server)
Specified by:
targetServerChanged in interface PartitionInfo

handleValidate

public void handleValidate()

doValidate

protected boolean doValidate(DefaultPartition part)

getBundleClass

protected java.lang.Class getBundleClass()
Overrides:
getBundleClass in class EInternalFrame

dispose

public void dispose()
Overrides:
dispose in class EInternalFrame

isASO

protected static boolean isASO(Database db,
                               DefaultPartition part)

enableGeneralPanelCheckBoxes

public void enableGeneralPanelCheckBoxes(boolean enable)

modifyTargetApplications

public void modifyTargetApplications(boolean allowASOApps)

settingChanged

public void settingChanged(int settingType,
                           java.lang.Object settingValue)
Specified by:
settingChanged in interface PartitionSettingChangeListener

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.