net.infonode.properties.gui.util
public class ShapedPanelProperties extends PropertyMapContainer
Version: $Revision: 1.11 $
Field Summary | |
---|---|
static BooleanProperty | CLIP_CHILDREN
If true the child components of the shaped panel are clipped with the border shape. |
static ComponentPainterProperty | COMPONENT_PAINTER
ComponentPainter that paints the shaped panel background. |
static DirectionProperty | DIRECTION
The direction of the shaped panel.
|
static BooleanProperty | HORIZONTAL_FLIP
If true the shaped panel is flipped horizontally.
|
static BooleanProperty | OPAQUE
If true the shaped panel is opaque.
|
static PropertyMapGroup | PROPERTIES
Property group for all shaped panel properties. |
static BooleanProperty | VERTICAL_FLIP
If true the shaped panel is flipped vertically.
|
Constructor Summary | |
---|---|
ShapedPanelProperties()
Creates an empty property object. | |
ShapedPanelProperties(PropertyMap map)
Creates a property map containing the map.
| |
ShapedPanelProperties(ShapedPanelProperties inheritFrom)
Creates a property object that inherit values from another property
object.
|
Method Summary | |
---|---|
ShapedPanelProperties | addSuperObject(ShapedPanelProperties properties)
Adds a super object from which property values are inherited.
|
boolean | getClipChildren()
Returns true the child components of the shaped panel are clipped with the border shape.
|
ComponentPainter | getComponentPainter()
Gets the painter that paints the shaped panel background.
|
Direction | getDirection()
Gets the direction of the shaped panel.
|
boolean | getHorizontalFlip()
Returns true if the shaped panel is flipped horizontally.
|
boolean | getOpaque()
Returns true if the shaped panel should be opaque.
|
boolean | getVerticalFlip()
Returns true if the shaped panel is flipped vertically.
|
ShapedPanelProperties | removeSuperObject()
Removes the last added super object.
|
ShapedPanelProperties | removeSuperObject(ShapedPanelProperties superObject)
Removes the given super object.
|
ShapedPanelProperties | setClipChildren(boolean clipChildren)
Set to true if the child components of the shaped panel should be clipped with the border shape.
|
ShapedPanelProperties | setComponentPainter(ComponentPainter painter)
Sets the painter that paints the shaped panel background.
|
ShapedPanelProperties | setDirection(Direction direction)
Sets the direction of the shaped panel.
|
ShapedPanelProperties | setHorizontalFlip(boolean flip)
Set to true if the shaped panel should be flipped horizontally.
|
ShapedPanelProperties | setOpaque(boolean opaque)
Set to true if the shaped panel should be opaque.
|
ShapedPanelProperties | setVerticalFlip(boolean flip)
Set to true if the shaped panel should be flipped vertically.
|
Since: ITP 1.4.0
Parameters: map the property map
Parameters: inheritFrom the object from which to inherit property values
Parameters: properties the object from which to inherit property values
Returns: this
Returns: true the child components of the shaped panel are clipped with the border shape
Returns: the painter that paints the shaped panel background, null if none
Returns: the direction of the shaped panel
Returns: true if the shaped panel is flipped horizontally
Returns: true for opaque, otherwise false
Since: ITP 1.4.0
Returns: true if the shaped panel is flipped vertically
Returns: this
Parameters: superObject super object to remove
Returns: this
Parameters: clipChildren true if the child components of the shaped panel should be clipped with the border shape
Returns: this
Parameters: painter the painter that paints the shaped panel background, null for none
Returns: this
Parameters: direction the direction of the shaped panel
Returns: this
Parameters: flip true if the shaped panel should be flipped vertically
Returns: this
Parameters: opaque true for opaque, otherwise false
Since: ITP 1.4.0
Parameters: flip true if the shaped panel should be flipped horizontally
Returns: this