com.alee.extended.painter
Interface PartialDecoration

All Known Subinterfaces:
PanelPainter<E>
All Known Implementing Classes:
AdaptivePanelPainter, AlignPanel, BorderPanel, CenterPanel, ComponentTransition, DoubleColorField, EmptyPanel, FlowPanel, GridPanel, GroupPanel, IconProgress, LanguageEditor, LineColorChooser, MultiComponentTransition, NinePatchEditorPanel, NPDecorationPainter, NPPanelPainter, PaletteColorChooser, PopupLayer, ResizablePanel, ShadeLayer, SingleAlignPanel, SourceViewer, TwoSidesPanel, VerticalPanel, WebAccordion, WebBreadcrumb, WebBreadcrumbPanel, WebBreadcrumbPanelPainter, WebButtonGroup, WebButtonPopup, WebButtonPopup.WebButtonPopupPainter, WebCalendar, WebCheckBoxTreeCellRenderer, WebCollapsiblePane, WebColorChooserPanel, WebComponentPanel, WebComponentPanel.WebSelectablePanel, WebDecorationPainter, WebDirectoryChooserPanel, WebDockableFrame, WebDockablePane, WebDocumentPane, WebDynamicMenu, WebFileBreadcrumb, WebFileChooserField, WebFileChooserField.FilePlate, WebFileChooserPanel, WebFileDrop, WebFilePlate, WebGlassPane, WebHeavyWeightPopup, WebNotificationPopup, WebOverlay, WebPanel, WebPanelPainter, WebPanelUI, WebPathField, WebPopOverPainter, WebPopup, WebProgressOverlay, WebSwitch, WebSwitchGripper, WebSwitchPane, WebTitledPanel, WebToolBarCorner, WrapPanel

public interface PartialDecoration

This interface should be implemented by any component/UI/painter that supports partial decoration. It will allow component view to be configured dynamically, according to its location in the application. These methods can also be used to configure component decoration manually.

Author:
Mikle Garin

Method Summary
 void setPaintBottom(boolean bottom)
          Sets whether should paint bottom side or not.
 void setPaintBottomLine(boolean bottom)
          Sets whether should paint bottom side line or not.
 void setPaintLeft(boolean left)
          Sets whether should paint left side or not.
 void setPaintLeftLine(boolean left)
          Sets whether should paint left side line or not.
 void setPaintRight(boolean right)
          Sets whether should paint right side or not.
 void setPaintRightLine(boolean right)
          Sets whether should paint right side line or not.
 void setPaintSideLines(boolean top, boolean left, boolean bottom, boolean right)
          Sets whether should paint specific side lines or not.
 void setPaintSides(boolean top, boolean left, boolean bottom, boolean right)
          Sets whether should paint specific sides or not.
 void setPaintTop(boolean top)
          Sets whether should paint top side or not.
 void setPaintTopLine(boolean top)
          Sets whether should paint top side line or not.
 

Method Detail

setPaintTop

void setPaintTop(boolean top)
Sets whether should paint top side or not.

Parameters:
top - whether should paint top side or not

setPaintLeft

void setPaintLeft(boolean left)
Sets whether should paint left side or not.

Parameters:
left - whether should paint left side or not

setPaintBottom

void setPaintBottom(boolean bottom)
Sets whether should paint bottom side or not.

Parameters:
bottom - whether should paint bottom side or not

setPaintRight

void setPaintRight(boolean right)
Sets whether should paint right side or not.

Parameters:
right - whether should paint right side or not

setPaintSides

void setPaintSides(boolean top,
                   boolean left,
                   boolean bottom,
                   boolean right)
Sets whether should paint specific sides or not.

Parameters:
top - whether should paint top side or not
left - whether should paint left side or not
bottom - whether should paint bottom side or not
right - whether should paint right side or not

setPaintTopLine

void setPaintTopLine(boolean top)
Sets whether should paint top side line or not.

Parameters:
top - whether should paint top side line or not

setPaintLeftLine

void setPaintLeftLine(boolean left)
Sets whether should paint left side line or not.

Parameters:
left - whether should paint left side line or not

setPaintBottomLine

void setPaintBottomLine(boolean bottom)
Sets whether should paint bottom side line or not.

Parameters:
bottom - whether should paint bottom side line or not

setPaintRightLine

void setPaintRightLine(boolean right)
Sets whether should paint right side line or not.

Parameters:
right - whether should paint right side line or not

setPaintSideLines

void setPaintSideLines(boolean top,
                       boolean left,
                       boolean bottom,
                       boolean right)
Sets whether should paint specific side lines or not.

Parameters:
top - whether should paint top side line or not
left - whether should paint left side line or not
bottom - whether should paint bottom side line or not
right - whether should paint right side line or not