classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] Patch: MetalTabbedPaneUI missing functions


From: Lillian Angel
Subject: [cp-patches] Patch: MetalTabbedPaneUI missing functions
Date: Tue, 22 Nov 2005 16:10:45 -0500

Added missing functions in MetalTabbedPaneUI. Again, most just call
super.

2005-11-22  Lillian Angel  <address@hidden>

        * javax/swing/plaf/metal/MetalTabbedPaneUI.java
        (getColorForGap): Implemented. Background color is
        always returned in this case.
        (paintHighlightBelowTab): Added. Nothing to do in
        this function as far as i can tell.
        (shouldFillGap): Implemented. Gap should always be filled.
        (shouldRotateTabRuns): Implemented. Tabs are not rotated
        in Metal. False is always returned.
        (calculateMaxTabHeight): Implemented to call super.
        (getTabLabelShiftX): Implemented.
        (getTabLabelShiftY): Implemented.
        (getTabRunOverlay): Implemented.
        (paint): Implemented to call super.
        (paintContentBorderBottomEdge): Likewise.
        (paintContentBorderLeftEdge): Likewise.
        (paintContentBorderRightEdge): Likewise.
        (paintContentBorderTopEdge): Likewise.
        (paintFocusIndicator): Likewise.
        (update): Likewise. Should not work any differently from
        default implementation.

Attachment: patch.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]