| java.lang.Object javax.swing.plaf.ComponentUI com.jeta.forms.components.border.TitledBorderSideUI
TitledBorderSideUI | public class TitledBorderSideUI extends ComponentUI (Code) | | The UI for a component that simulates the left or right side of a
TitledBorder. This component is useful when flattening layouts. It allows a
titled border to be used to separate components, while allowing those
components to stay in the same row or column of the form. This allows
components to have the same x,y, width, or height, yet have differnt title
borders. This is not possible when using standard TitledBorder.
author: Jeff Tassin |
getPreferredSize | public Dimension getPreferredSize(JComponent c)(Code) | | Returns the component's preferred size for the current look and feel.
Parameters: c - the component whose preferred size is being queried the preferred size |
paint | public void paint(Graphics g, JComponent c)(Code) | | Renders the border using the current look and feel.
Parameters: g - the Graphics context in which to paint Parameters: c - the component being painted; |
|
|