Package com.salas.bb.domain.prefs

Examples of com.salas.bb.domain.prefs.ViewModePreferences


     *
     * @return view mode preferences.
     */
    public ViewModePreferences getViewModePreferences()
    {
        return new ViewModePreferences();
    }
View Full Code Here


    /**
     * Updates the state of visual components of the title bar.
     */
    void updateComponentsState()
    {
        ViewModePreferences prefs = config.getViewModePreferences();
        boolean cDate = isCompVisible(lbDate);
        boolean date = prefs.isDateVisible(mode);
        boolean cTime = isCompVisible(lbTime);
        boolean time = prefs.isTimeVisible(mode) && date;
        boolean cCategories = isCompVisible(lbCategories);
        boolean categories = prefs.isCategoriesVisible(mode);
        boolean cURL = isCompVisible(lbURL);
        boolean url = prefs.isUrlVisible(mode);
        boolean cPin = isCompVisible(lbPin);
        boolean pin = prefs.isPinVisible(mode);
        boolean cColorCode = isCompVisible(lbColorCode);
        boolean colorCode = isColorCodeVisible();

        updateTitle();
        if (lbDate != null) lbDate.setVisible(date);
View Full Code Here

     *
     * @return TRUE if visible.
     */
    private boolean isColorCodeVisible()
    {
        ViewModePreferences prefs = config.getViewModePreferences();
        return prefs.isColorCodeVisible(mode) && SentimentsFeature.isAvailable();
    }
View Full Code Here

TOP

Related Classes of com.salas.bb.domain.prefs.ViewModePreferences

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.