/*
*
* Copyright 2014 http://Bither.net
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* /
*/
package net.bither.viewsystem.themes;
import java.awt.*;
/**
* <p>Strategy to provide the following to themes:</p>
* <ul>
* <li>Various accessor methods</li>
* </ul>
*
* @since 0.0.1
*/
public interface Theme {
/**
* @return The panel background colour for the header
*/
Color headerPanelBackground();
/**
* @return The text colour for the header
*/
Color headerPanelText();
/**
* @return The panel background colour for the footer
*/
Color footerPanelBackground();
/**
* @return The text colour for the footer
*/
Color footerPanelText();
/**
* @return The panel background colour for detail/wizards
*/
Color detailPanelBackground();
/**
* @return The panel background colour for the sidebar
*/
Color sidebarPanelBackground();
/**
* @return The background colour for the default table stripe
*/
Color tableRowBackground();
/**
* @return The background colour for the alternate table stripe
*/
Color tableRowAltBackground();
/**
* @return The background colour for the selected table stripe
*/
Color tableRowSelectedBackground();
/**
* @return The background colour for read only data display elements (like seed phrase display etc)
*/
Color readOnlyBackground();
/**
* @return The border colour for read only data display elements (like seed phrase display etc)
*/
Color readOnlyBorder();
/**
* @return The background color for read only combo box (Nimbus mangles this value considerably)
*/
Color readOnlyComboBox();
/**
* @return The border colour for attention grabbing focus display elements (like tags, list items etc)
*/
Color focusBorder();
/**
* @return The text of a selected sidebar node (usually high contrast and saturation version of "read only")
*/
Color sidebarSelectedText();
/**
* @return The background colour for data handling elements (like text areas, tree views etc)
*/
Color dataEntryBackground();
/**
* @return The border colour for data handling elements (like text areas, tree views etc)
*/
Color dataEntryBorder();
/**
* @return The background colour for data handling elements (like text areas, tree views etc) with invalid data
*/
Color invalidDataEntryBackground();
/**
* @return The background colour for a button to match the overall theme (needs to contrast with the detail panel backgrond)
*/
Color buttonBackground();
/**
* @return The normal font colour for the theme
*/
Color text();
/**
* @return A faded version of the normal font colour for the theme
*/
Color fadedText();
/**
* @return The inverse font colour for the theme (to avoid clashing with panel backgrounds)
*/
Color inverseText();
/**
* @return A faded version of the inverse font colour for the theme (to avoid clashing with panel backgrounds)
*/
Color inverseFadedText();
/**
* @return The font colour for a button to match the overall theme
*/
Color buttonText();
/**
* @return The background colour of a danger alert
*/
Color dangerAlertBackground();
/**
* @return The background colour of a danger alert with fading (matches button theme)
*/
Color dangerAlertFadedBackground();
/**
* @return The border of a danger alert
*/
Color dangerAlertBorder();
/**
* @return The text of a danger alert
*/
Color dangerAlertText();
/**
* @return The background colour of a warning alert
*/
Color warningAlertBackground();
/**
* @return The border of a warning alert
*/
Color warningAlertBorder();
/**
* @return The text of a warning alert
*/
Color warningAlertText();
/**
* @return The background colour of a success alert
*/
Color successAlertBackground();
/**
* @return The background colour of a success alert with fading (matches button theme)
*/
Color successAlertFadedBackground();
/**
* @return The border of a success alert
*/
Color successAlertBorder();
/**
* @return The text of a success alert
*/
Color successAlertText();
/**
* @return The background colour of an info alert
*/
Color infoAlertBackground();
/**
* @return The border of an info alert
*/
Color infoAlertBorder();
/**
* @return The text of an info alert
*/
Color infoAlertText();
/**
* @return The background colour of a pending alert
*/
Color pendingAlertBackground();
/**
* @return The background colour of a pending alert with fading (matches button theme)
*/
Color pendingAlertFadedBackground();
/**
* @return The border of a pending alert
*/
Color pendingAlertBorder();
/**
* @return The text of a pending alert
*/
Color pendingAlertText();
/**
* @return The text of a credit entry in a payment screen (usually green or black)
*/
Color creditText();
/**
* @return The text of a debit entry in a payment screen (usually red)
*/
Color debitText();
/**
* @return The RAG status red
*/
Color statusRed();
/**
* @return The RAG status amber
*/
Color statusAmber();
/**
* @return The RAG status green
*/
Color statusGreen();
}