Package controller.listener

Examples of controller.listener.DividerLocationPropertyChangeListener


    getContentPane().addKeyListener(core);

    mainPanel.setDividerLocation(PhoenixCore.INSTANCE.getSettings()
        .getSettingAsInt(SettingKeys.SPLIT_FRAME_MAIN));
    mainPanel
        .addPropertyChangeListener(new DividerLocationPropertyChangeListener(
            SettingKeys.SPLIT_FRAME_MAIN, mainPanel));
    innerSplit.setDividerLocation(PhoenixCore.INSTANCE.getSettings()
        .getSettingAsInt(SettingKeys.SPLIT_FRAME_INNER));
    innerSplit
        .addPropertyChangeListener(new DividerLocationPropertyChangeListener(
            SettingKeys.SPLIT_FRAME_INNER, innerSplit));
    // groeße wiederherstellen
    int h = PhoenixCore.INSTANCE.getSettings().getSettingAsInt(
        SettingKeys.FRAME_HEIGHT);
    int w = PhoenixCore.INSTANCE.getSettings().getSettingAsInt(
View Full Code Here


    albums.getSelectionModel().addListSelectionListener(new AlbumSelectionListener(albums, this));
   
    mainSplit.setDividerLocation(PhoenixCore.INSTANCE.getSettings().getSettingAsInt(SettingKeys.SPLIT_MAIN_LIBVIEW_POS));
    mainSplit.addPropertyChangeListener(
        JSplitPane.DIVIDER_LOCATION_PROPERTY,
        new DividerLocationPropertyChangeListener(SettingKeys.SPLIT_MAIN_LIBVIEW_POS, mainSplit));
   
    sortSplit.setDividerLocation(PhoenixCore.INSTANCE.getSettings().getSettingAsInt(SettingKeys.SPLIT_ALBUM_LIBVIEW_POS));
    sortSplit.addPropertyChangeListener(
        JSplitPane.DIVIDER_LOCATION_PROPERTY,
        new DividerLocationPropertyChangeListener(SettingKeys.SPLIT_ALBUM_LIBVIEW_POS, sortSplit));
   
  }
View Full Code Here

TOP

Related Classes of controller.listener.DividerLocationPropertyChangeListener

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.