public class ExpandableSplitPanel extends JSplitPane implements PropertyChangeListener, com.eviware.soapui.support.components.JInspectorPanel
Able to split components vertically.
JSplitPane.AccessibleJSplitPane
JComponent.AccessibleJComponent
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
Modifier and Type | Field and Description |
---|---|
static Border |
EMPTY_BORDER |
static Border |
HEADER_LEFT_BORDER |
BOTTOM, CONTINUOUS_LAYOUT_PROPERTY, continuousLayout, DIVIDER, DIVIDER_LOCATION_PROPERTY, DIVIDER_SIZE_PROPERTY, dividerSize, HORIZONTAL_SPLIT, LAST_DIVIDER_LOCATION_PROPERTY, lastDividerLocation, LEFT, leftComponent, ONE_TOUCH_EXPANDABLE_PROPERTY, oneTouchExpandable, orientation, ORIENTATION_PROPERTY, RESIZE_WEIGHT_PROPERTY, RIGHT, rightComponent, TOP, VERTICAL_SPLIT
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
ExpandableSplitPanel(JComponent mainComponent)
Creates an instance of the split panel with inspectors
|
Modifier and Type | Method and Description |
---|---|
void |
activate(com.eviware.soapui.support.components.Inspector inspector) |
<T extends com.eviware.soapui.support.components.Inspector> |
addInspector(T inspector) |
void |
clearInspectors() |
void |
deactivate() |
JComponent |
getComponent() |
Component |
getContentComponent() |
com.eviware.soapui.support.components.Inspector |
getCurrentInspector() |
com.eviware.soapui.support.components.Inspector |
getInspector(String inspectorId) |
com.eviware.soapui.support.components.Inspector |
getInspectorByTitle(String title) |
List<com.eviware.soapui.support.components.Inspector> |
getInspectors() |
boolean |
hasInspectors() |
boolean |
isInspectorsVisible() |
void |
loadState(com.eviware.soapui.model.settings.Settings settings,
String componentId)
Loads component parts state from settings
|
void |
propertyChange(PropertyChangeEvent evt) |
void |
release() |
void |
removeInspector(com.eviware.soapui.support.components.Inspector inspector) |
void |
saveState(com.eviware.soapui.model.settings.Settings settings,
String componentId)
Stores component parts state to settings
|
void |
setContentComponent(JComponent component) |
void |
setCurrentInspector(String s) |
void |
setDefaultDividerLocation(float v) |
void |
setInspectorsVisible(boolean isInspectorsVisible) |
void |
setInspectorVisible(com.eviware.soapui.support.components.Inspector inspector,
boolean visible) |
void |
setResetDividerLocation() |
addImpl, getAccessibleContext, getBottomComponent, getDividerLocation, getDividerSize, getLastDividerLocation, getLeftComponent, getMaximumDividerLocation, getMinimumDividerLocation, getOrientation, getResizeWeight, getRightComponent, getTopComponent, getUI, getUIClassID, isContinuousLayout, isOneTouchExpandable, isValidateRoot, paintChildren, paramString, remove, remove, removeAll, resetToPreferredSizes, setBottomComponent, setContinuousLayout, setDividerLocation, setDividerLocation, setDividerSize, setLastDividerLocation, setLeftComponent, setOneTouchExpandable, setOrientation, setResizeWeight, setRightComponent, setTopComponent, setUI, updateUI
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, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, paint, paintBorder, 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, setVisible, unregisterKeyboardAction, update
add, add, add, add, add, addContainerListener, 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, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
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, 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, transferFocusUpCycle
public static final Border EMPTY_BORDER
public static final Border HEADER_LEFT_BORDER
public ExpandableSplitPanel(JComponent mainComponent)
mainComponent
- Main component at the top of the panelpublic void loadState(com.eviware.soapui.model.settings.Settings settings, String componentId)
settings
- Settings object used to store panel state - splitter position, inspector expand state.componentId
- Some unique Id to use as a part of persistent params name.public void saveState(com.eviware.soapui.model.settings.Settings settings, String componentId)
settings
- Settings object used to store panel state - splitter position, inspector expand state.componentId
- Some unique Id to use as a part of persistent params name.public void clearInspectors()
public boolean hasInspectors()
public boolean isInspectorsVisible()
public void setInspectorsVisible(boolean isInspectorsVisible)
public <T extends com.eviware.soapui.support.components.Inspector> T addInspector(T inspector)
addInspector
in interface com.eviware.soapui.support.components.JInspectorPanel
public JComponent getComponent()
getComponent
in interface com.eviware.soapui.support.components.JInspectorPanel
public void activate(com.eviware.soapui.support.components.Inspector inspector)
activate
in interface com.eviware.soapui.support.components.JInspectorPanel
public List<com.eviware.soapui.support.components.Inspector> getInspectors()
getInspectors
in interface com.eviware.soapui.support.components.JInspectorPanel
public com.eviware.soapui.support.components.Inspector getCurrentInspector()
getCurrentInspector
in interface com.eviware.soapui.support.components.JInspectorPanel
public void setCurrentInspector(String s)
setCurrentInspector
in interface com.eviware.soapui.support.components.JInspectorPanel
public void deactivate()
deactivate
in interface com.eviware.soapui.support.components.JInspectorPanel
public void removeInspector(com.eviware.soapui.support.components.Inspector inspector)
removeInspector
in interface com.eviware.soapui.support.components.JInspectorPanel
public void setContentComponent(JComponent component)
setContentComponent
in interface com.eviware.soapui.support.components.JInspectorPanel
public com.eviware.soapui.support.components.Inspector getInspector(String inspectorId)
getInspector
in interface com.eviware.soapui.support.components.JInspectorPanel
public com.eviware.soapui.support.components.Inspector getInspectorByTitle(String title)
getInspectorByTitle
in interface com.eviware.soapui.support.components.JInspectorPanel
public void setInspectorVisible(com.eviware.soapui.support.components.Inspector inspector, boolean visible)
setInspectorVisible
in interface com.eviware.soapui.support.components.JInspectorPanel
public void setResetDividerLocation()
setResetDividerLocation
in interface com.eviware.soapui.support.components.JInspectorPanel
public void setDefaultDividerLocation(float v)
setDefaultDividerLocation
in interface com.eviware.soapui.support.components.JInspectorPanel
public void release()
release
in interface com.eviware.soapui.support.components.JInspectorPanel
public Component getContentComponent()
getContentComponent
in interface com.eviware.soapui.support.components.JInspectorPanel
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
Copyright © 2019. All rights reserved.