public class TestFrame extends WebFrame
javax.swing.JFrame.AccessibleJFramejava.awt.Window.AccessibleAWTWindow, java.awt.Window.Type| Modifier and Type | Field and Description |
|---|---|
protected WebPanel |
container
Main components container.
|
closeOnFocusLoss, focusTrackeraccessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabledCROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSORBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTEMPTY| Constructor and Description |
|---|
TestFrame(boolean horizontal,
java.awt.Component... components)
Constructs test frame with the specified content and settings.
|
TestFrame(boolean horizontal,
java.awt.Insets margin,
java.awt.Component... components)
Constructs test frame with the specified content and settings.
|
TestFrame(boolean horizontal,
int margin,
java.awt.Component... components)
Constructs test frame with the specified content and settings.
|
TestFrame(boolean horizontal,
int top,
int left,
int bottom,
int right,
java.awt.Component... components)
Constructs test frame with the specified content and settings.
|
TestFrame(java.awt.Component component)
Constructs test frame with the specified content and settings.
|
TestFrame(java.awt.Component component,
java.awt.Insets margin)
Constructs test frame with the specified content and settings.
|
TestFrame(java.awt.Component component,
int margin)
Constructs test frame with the specified content and settings.
|
TestFrame(java.awt.Component component,
int top,
int left,
int bottom,
int right)
Constructs test frame with the specified content and settings.
|
TestFrame(int gap,
boolean horizontal,
java.awt.Component... components)
Constructs test frame with the specified content and settings.
|
TestFrame(int gap,
boolean horizontal,
java.awt.Insets margin,
java.awt.Component... components)
Constructs test frame with the specified content and settings.
|
TestFrame(int gap,
boolean horizontal,
int margin,
java.awt.Component... components)
Constructs test frame with the specified content and settings.
|
TestFrame(int gap,
boolean horizontal,
int top,
int left,
int bottom,
int right,
java.awt.Component... components)
Constructs test frame with the specified content and settings.
|
TestFrame(java.awt.LayoutManager layout,
java.awt.Component... components)
Constructs test frame with the specified content and settings.
|
TestFrame(java.awt.LayoutManager layout,
java.awt.Component component)
Constructs test frame with the specified content and settings.
|
TestFrame(java.awt.LayoutManager layout,
java.awt.Component component,
java.awt.Insets margin)
Constructs test frame with the specified content and settings.
|
TestFrame(java.awt.LayoutManager layout,
java.awt.Component component,
int margin)
Constructs test frame with the specified content and settings.
|
TestFrame(java.awt.LayoutManager layout,
java.awt.Component component,
int top,
int left,
int bottom,
int right)
Constructs test frame with the specified content and settings.
|
TestFrame(java.awt.LayoutManager layout,
java.awt.Component component,
java.lang.Object constraints,
java.awt.Insets margin)
Constructs test frame with the specified content and settings.
|
TestFrame(java.awt.LayoutManager layout,
java.awt.Insets margin,
java.awt.Component... components)
Constructs test frame with the specified content and settings.
|
TestFrame(java.awt.LayoutManager layout,
int margin,
java.awt.Component... components)
Constructs test frame with the specified content and settings.
|
TestFrame(java.awt.LayoutManager layout,
int top,
int left,
int bottom,
int right,
java.awt.Component... components)
Constructs test frame with the specified content and settings.
|
| Modifier and Type | Method and Description |
|---|---|
void |
configureFrame()
Configures test frame.
|
TestFrame |
displayFrame()
Displays and returns test frame.
|
static java.lang.String |
getFrameTitle(java.awt.Component component)
Returns test frame title.
|
void |
setBackground(java.awt.Color c)
Sets test frame background.
|
static TestFrame |
show(boolean horizontal,
java.awt.Component... components)
Displays and returns test frame with the specified content and settings.
|
static TestFrame |
show(boolean horizontal,
java.awt.Insets margin,
java.awt.Component... components)
Displays and returns test frame with the specified content and settings.
|
static TestFrame |
show(boolean horizontal,
int margin,
java.awt.Component... components)
Displays and returns test frame with the specified content and settings.
|
static TestFrame |
show(boolean horizontal,
int top,
int left,
int bottom,
int right,
java.awt.Component... components)
Displays and returns test frame with the specified content and settings.
|
static TestFrame |
show(java.awt.Component component)
Displays and returns test frame with the specified content and settings.
|
static TestFrame |
show(java.awt.Component component,
java.awt.Insets margin)
Displays and returns test frame with the specified content and settings.
|
static TestFrame |
show(java.awt.Component component,
int margin)
Displays and returns test frame with the specified content and settings.
|
static TestFrame |
show(java.awt.Component component,
int top,
int left,
int bottom,
int right)
Displays and returns test frame with the specified content and settings.
|
static TestFrame |
show(int gap,
boolean horizontal,
java.awt.Component... components)
Displays and returns test frame with the specified content and settings.
|
static TestFrame |
show(int gap,
boolean horizontal,
java.awt.Insets margin,
java.awt.Component... components)
Displays and returns test frame with the specified content and settings.
|
static TestFrame |
show(int gap,
boolean horizontal,
int margin,
java.awt.Component... components)
Displays and returns test frame with the specified content and settings.
|
static TestFrame |
show(int gap,
boolean horizontal,
int top,
int left,
int bottom,
int right,
java.awt.Component... components)
Displays and returns test frame with the specified content and settings.
|
static TestFrame |
show(java.awt.LayoutManager layout,
java.awt.Component... components)
Displays and returns test frame with the specified content and settings.
|
static TestFrame |
show(java.awt.LayoutManager layout,
java.awt.Component component)
Displays and returns test frame with the specified content and settings.
|
static TestFrame |
show(java.awt.LayoutManager layout,
java.awt.Component component,
java.awt.Insets margin)
Displays and returns test frame with the specified content and settings.
|
static TestFrame |
show(java.awt.LayoutManager layout,
java.awt.Component component,
int margin)
Displays and returns test frame with the specified content and settings.
|
static TestFrame |
show(java.awt.LayoutManager layout,
java.awt.Component component,
int top,
int left,
int bottom,
int right)
Displays and returns test frame with the specified content and settings.
|
static TestFrame |
show(java.awt.LayoutManager layout,
java.awt.Component component,
java.lang.Object constraints,
java.awt.Insets margin)
Displays and returns test frame with the specified content and settings.
|
static TestFrame |
show(java.awt.LayoutManager layout,
java.awt.Insets margin,
java.awt.Component... components)
Displays and returns test frame with the specified content and settings.
|
static TestFrame |
show(java.awt.LayoutManager layout,
int margin,
java.awt.Component... components)
Displays and returns test frame with the specified content and settings.
|
static TestFrame |
show(java.awt.LayoutManager layout,
int top,
int left,
int bottom,
int right,
java.awt.Component... components)
Displays and returns test frame with the specified content and settings.
|
addFocusableChild, addStyleListener, center, center, center, center, createRootPane, getButtonsPanel, getCustomPainter, getCustomPainter, getCustomPainters, getFocusableChildren, getLanguageContainerKey, getPadding, getRootPaneWebUI, getSkin, getStyleId, getTitleComponent, getWebUI, getWindowOpacity, initialize, isCloseOnFocusLoss, isDisplayCloseButton, isDisplayMaximizeButton, isDisplayMenuBar, isDisplayMinimizeButton, isDisplayTitleComponent, isDisplayWindowButtons, isLanguageSet, isWindowOpaque, loadSettings, onClose, onClosing, packAndCenter, packAndCenter, packToHeight, packToWidth, registerSettings, registerSettings, registerSettings, registerSettings, registerSettings, registerSettings, registerSettings, registerSettings, registerSettings, registerSettings, registerSettings, registerSettings, removeFocusableChild, removeLanguage, removeLanguageContainerKey, removeLanguageUpdater, removeStyleListener, restoreDefaultPainters, restoreSkin, saveSettings, setCloseOnFocusLoss, setCustomPainter, setCustomPainter, setDisplayCloseButton, setDisplayMaximizeButton, setDisplayMenuBar, setDisplayMinimizeButton, setDisplayTitleComponent, setDisplayWindowButtons, setLanguage, setLanguageContainerKey, setLanguageUpdater, setPadding, setPadding, setPadding, setSkin, setSkin, setStyleId, setTitleComponent, setWindowOpacity, setWindowOpaque, unregisterSettings, updateLanguage, updateLanguageaddImpl, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, updateaddNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecoratedaddPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, setVisible, show, toBack, toFrontadd, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleprotected final WebPanel container
public TestFrame(java.awt.Component component)
component - component to displaypublic TestFrame(java.awt.Component component,
int margin)
component - component to displaymargin - container marginpublic TestFrame(java.awt.Component component,
int top,
int left,
int bottom,
int right)
component - component to displaytop - container top marginleft - container left marginbottom - container bottom marginright - container right marginpublic TestFrame(java.awt.Component component,
java.awt.Insets margin)
component - component to displaymargin - container marginpublic TestFrame(java.awt.LayoutManager layout,
java.awt.Component component)
layout - container layoutcomponent - component to displaypublic TestFrame(java.awt.LayoutManager layout,
java.awt.Component component,
int margin)
layout - container layoutcomponent - component to displaymargin - container marginpublic TestFrame(java.awt.LayoutManager layout,
java.awt.Component component,
int top,
int left,
int bottom,
int right)
layout - container layoutcomponent - component to displaytop - container top marginleft - container left marginbottom - container bottom marginright - container right marginpublic TestFrame(java.awt.LayoutManager layout,
java.awt.Component component,
java.awt.Insets margin)
layout - container layoutcomponent - component to displaymargin - container marginpublic TestFrame(java.awt.LayoutManager layout,
java.awt.Component component,
java.lang.Object constraints,
java.awt.Insets margin)
layout - container layoutcomponent - component to displayconstraints - component layout constraintsmargin - container marginpublic TestFrame(boolean horizontal,
java.awt.Component... components)
horizontal - whether should place components horizontally or notcomponents - components to displaypublic TestFrame(int gap,
boolean horizontal,
java.awt.Component... components)
gap - gap between componentshorizontal - whether should place components horizontally or notcomponents - components to displaypublic TestFrame(java.awt.LayoutManager layout,
java.awt.Component... components)
layout - container layoutcomponents - components to displaypublic TestFrame(boolean horizontal,
int margin,
java.awt.Component... components)
horizontal - whether should place components horizontally or notmargin - container margincomponents - components to displaypublic TestFrame(boolean horizontal,
int top,
int left,
int bottom,
int right,
java.awt.Component... components)
horizontal - whether should place components horizontally or nottop - top container marginleft - left container marginbottom - bottom container marginright - right container margincomponents - components to displaypublic TestFrame(boolean horizontal,
java.awt.Insets margin,
java.awt.Component... components)
horizontal - whether should place components horizontally or notmargin - container margincomponents - components to displaypublic TestFrame(int gap,
boolean horizontal,
int margin,
java.awt.Component... components)
gap - gap between componentshorizontal - whether should place components horizontally or notmargin - container margincomponents - components to displaypublic TestFrame(int gap,
boolean horizontal,
int top,
int left,
int bottom,
int right,
java.awt.Component... components)
gap - gap between componentshorizontal - whether should place components horizontally or nottop - top container marginleft - left container marginbottom - bottom container marginright - right container margincomponents - components to displaypublic TestFrame(int gap,
boolean horizontal,
java.awt.Insets margin,
java.awt.Component... components)
gap - gap between componentshorizontal - whether should place components horizontally or notmargin - container margincomponents - components to displaypublic TestFrame(java.awt.LayoutManager layout,
int margin,
java.awt.Component... components)
layout - container layoutmargin - container margincomponents - components to displaypublic TestFrame(java.awt.LayoutManager layout,
int top,
int left,
int bottom,
int right,
java.awt.Component... components)
layout - container layouttop - top container marginleft - left container marginbottom - bottom container marginright - right container margincomponents - components to displaypublic TestFrame(java.awt.LayoutManager layout,
java.awt.Insets margin,
java.awt.Component... components)
layout - container layoutmargin - container margincomponents - components to displaypublic static TestFrame show(java.awt.Component component)
component - component to displaypublic static TestFrame show(java.awt.Component component, int margin)
component - component to displaymargin - container marginpublic static TestFrame show(java.awt.Component component, int top, int left, int bottom, int right)
component - component to displaytop - container top marginleft - container left marginbottom - container bottom marginright - container right marginpublic static TestFrame show(java.awt.Component component, java.awt.Insets margin)
component - component to displaymargin - container marginpublic static TestFrame show(java.awt.LayoutManager layout, java.awt.Component component)
layout - container layoutcomponent - component to displaypublic static TestFrame show(java.awt.LayoutManager layout, java.awt.Component component, int margin)
layout - container layoutcomponent - component to displaymargin - container marginpublic static TestFrame show(java.awt.LayoutManager layout, java.awt.Component component, int top, int left, int bottom, int right)
layout - container layoutcomponent - component to displaytop - container top marginleft - container left marginbottom - container bottom marginright - container right marginpublic static TestFrame show(java.awt.LayoutManager layout, java.awt.Component component, java.awt.Insets margin)
layout - container layoutcomponent - component to displaymargin - container marginpublic static TestFrame show(java.awt.LayoutManager layout, java.awt.Component component, java.lang.Object constraints, java.awt.Insets margin)
layout - container layoutcomponent - component to displayconstraints - component layout constraintsmargin - container marginpublic static TestFrame show(boolean horizontal, java.awt.Component... components)
horizontal - whether should place components horizontally or notcomponents - components to displaypublic static TestFrame show(int gap, boolean horizontal, java.awt.Component... components)
gap - gap between componentshorizontal - whether should place components horizontally or notcomponents - components to displaypublic static TestFrame show(java.awt.LayoutManager layout, java.awt.Component... components)
layout - container layoutcomponents - components to displaypublic static TestFrame show(boolean horizontal, int margin, java.awt.Component... components)
horizontal - whether should place components horizontally or notmargin - container margincomponents - components to displaypublic static TestFrame show(boolean horizontal, int top, int left, int bottom, int right, java.awt.Component... components)
horizontal - whether should place components horizontally or nottop - top container marginleft - left container marginbottom - bottom container marginright - right container margincomponents - components to displaypublic static TestFrame show(boolean horizontal, java.awt.Insets margin, java.awt.Component... components)
horizontal - whether should place components horizontally or notmargin - container margincomponents - components to displaypublic static TestFrame show(int gap, boolean horizontal, int margin, java.awt.Component... components)
gap - gap between componentshorizontal - whether should place components horizontally or notmargin - container margincomponents - components to displaypublic static TestFrame show(int gap, boolean horizontal, int top, int left, int bottom, int right, java.awt.Component... components)
gap - gap between componentshorizontal - whether should place components horizontally or nottop - top container marginleft - left container marginbottom - bottom container marginright - right container margincomponents - components to displaypublic static TestFrame show(int gap, boolean horizontal, java.awt.Insets margin, java.awt.Component... components)
gap - gap between componentshorizontal - whether should place components horizontally or notmargin - container margincomponents - components to displaypublic static TestFrame show(java.awt.LayoutManager layout, int margin, java.awt.Component... components)
layout - container layoutmargin - container margincomponents - components to displaypublic static TestFrame show(java.awt.LayoutManager layout, int top, int left, int bottom, int right, java.awt.Component... components)
layout - container layouttop - top container marginleft - left container marginbottom - bottom container marginright - right container margincomponents - components to displaypublic static TestFrame show(java.awt.LayoutManager layout, java.awt.Insets margin, java.awt.Component... components)
layout - container layoutmargin - container margincomponents - components to displaypublic void configureFrame()
public void setBackground(java.awt.Color c)
setBackground in class java.awt.Framec - background colorpublic TestFrame displayFrame()
public static java.lang.String getFrameTitle(java.awt.Component component)
component - component to process