public abstract class BorderedComponent extends Component
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROPERTY_BORDER |
static java.lang.String |
PROPERTY_BOX_SHADOW |
static java.lang.String |
PROPERTY_RADIUS |
CHILD_VISIBLE_CHANGED_PROPERTY, CHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FOCUS_NEXT_ID_CHANGED_PROPERTY, FOCUS_PREVIOUS_ID_CHANGED_PROPERTY, LAYOUT_DIRECTION_CHANGED_PROPERTY, LOCALE_CHANGED_PROPERTY, PROPERTY_BACKGROUND, PROPERTY_FONT, PROPERTY_FOREGROUND, PROPERTY_LAYOUT_DATA, STYLE_CHANGED_PROPERTY, STYLE_NAME_CHANGED_PROPERTY, VISIBLE_CHANGED_PROPERTY| Constructor and Description |
|---|
BorderedComponent()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Border |
getBorder()
Returns the border displayed around the component.
|
BoxShadow |
getBoxShadow()
Returns the specific box shadow (CSS3) setting of this component, if any.
|
Insets |
getRadius()
Returns the corder radius of the component (or null of radius applied).
|
void |
setBorder(Border newValue)
Sets the border displayed around the component.
|
void |
setBoxShadow(BoxShadow newValue)
Sets the
BoxShadow (CSS3) of this Component. |
void |
setRadius(Insets newValue)
Sets the radius of the corners of the component.
|
add, add, addPropertyChangeListener, addPropertyChangeListener, dispose, firePropertyChange, get, getApplicationInstance, getBackground, getComponent, getComponent, getComponentCount, getComponents, getEventListenerList, getFocusNextId, getFocusPreviousId, getFont, getForeground, getId, getIndex, getLastRenderId, getLayoutData, getLayoutDirection, getLocale, getLocalStyle, getParent, getRenderId, getRenderIndexedProperty, getRenderIndexedProperty, getRenderLocale, getRenderProperty, getRenderProperty, getStyle, getStyleName, getVisibleComponent, getVisibleComponentCount, getVisibleComponents, hasEventListenerList, indexOf, init, isAncestorOf, isEnabled, isFocusTraversalParticipant, isRegistered, isRenderEnabled, isRenderVisible, isValidChild, isValidParent, isVisible, processInput, remove, remove, removeAll, removePropertyChangeListener, removePropertyChangeListener, set, setBackground, setComponents, setEnabled, setFocusNextId, setFocusPreviousId, setFocusTraversalParticipant, setFont, setForeground, setId, setIndex, setLayoutData, setLayoutDirection, setLocale, setRenderId, setStyle, setStyleName, setVisible, validate, verifyInput, visibleIndexOfpublic static final java.lang.String PROPERTY_BORDER
public static final java.lang.String PROPERTY_BOX_SHADOW
public static final java.lang.String PROPERTY_RADIUS
public Border getBorder()
public BoxShadow getBoxShadow()
BoxShadow is
specifically set on this Component.Componentpublic Insets getRadius()
public void setBorder(Border newValue)
newValue - the new borderpublic void setBoxShadow(BoxShadow newValue)
BoxShadow (CSS3) of this Component.newValue - the new BoxShadow.public void setRadius(Insets newValue)
newValue - the new radius