java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Panel
com.flexstor.common.awt.FlexBorderPanel
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
- public class FlexBorderPanel
- extends java.awt.Panel
| Nested classes inherited from class java.awt.Panel |
java.awt.Panel.AccessibleAWTPanel |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Fields inherited from class java.awt.Panel |
|
| Fields inherited from class java.awt.Container |
|
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusDownCycle, update, 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, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle |
BEVEL_LOWERED
public static final int BEVEL_LOWERED
- See Also:
- Constant Field Values
BEVEL_RAISED
public static final int BEVEL_RAISED
- See Also:
- Constant Field Values
BEVEL_LINE
public static final int BEVEL_LINE
- See Also:
- Constant Field Values
ALIGN_LEFT
public static final int ALIGN_LEFT
- See Also:
- Constant Field Values
ALIGN_CENTERED
public static final int ALIGN_CENTERED
- See Also:
- Constant Field Values
ALIGN_RIGHT
public static final int ALIGN_RIGHT
- See Also:
- Constant Field Values
BEVEL_NONE
public static final int BEVEL_NONE
- See Also:
- Constant Field Values
oldSize
java.awt.Dimension oldSize
labelpadx
protected static final int labelpadx
- See Also:
- Constant Field Values
labelipadx
protected static final int labelipadx
- See Also:
- Constant Field Values
cachedBackground
protected java.awt.Color cachedBackground
borderColor
protected java.awt.Color borderColor
bevelLighterColor
protected java.awt.Color bevelLighterColor
bevelDarkerColor
protected java.awt.Color bevelDarkerColor
labelColor
protected java.awt.Color labelColor
padtop
protected int padtop
padbottom
protected int padbottom
padleft
protected int padleft
padright
protected int padright
ixPad
protected int ixPad
iyPadTop
protected int iyPadTop
iyPadBottom
protected int iyPadBottom
style
protected int style
label
protected java.lang.String label
labelAlignment
protected int labelAlignment
internalInsets
protected java.awt.Insets internalInsets
panel
protected java.awt.Panel panel
cListeners
protected java.util.Vector cListeners
FlexBorderPanel
public FlexBorderPanel()
FlexBorderPanel
public FlexBorderPanel(java.lang.String s)
FlexBorderPanel
public FlexBorderPanel(java.lang.String s,
int alignment,
int style)
getPreferredSize
public java.awt.Dimension getPreferredSize()
- Added size methods because Symantec's BorderPanel does not return a calculated dimension
but a fixed size.
getMinimumSize
public java.awt.Dimension getMinimumSize()
- Description copied from class:
java.awt.Container
- Returns the minimum size of this container.
sizepanel
protected void sizepanel(boolean force)
getLabelTopMargin
protected int getLabelTopMargin()
setBevelStyle
public void setBevelStyle(int newBevelStyle)
setPaddingTop
public void setPaddingTop(int newPadTop)
setPaddingBottom
public void setPaddingBottom(int newPadBottom)
setPaddingLeft
public void setPaddingLeft(int newPadLeft)
setPaddingRight
public void setPaddingRight(int newPadRight)
setLabel
public void setLabel(java.lang.String newLabel)
setAlignStyle
public void setAlignStyle(int newLabelAlignment)
setPadding
public void setPadding(int t,
int b,
int l,
int r)
setIPadBottom
public void setIPadBottom(int b)