當前位置: 首頁>>代碼示例>>Java>>正文


Java Bindings.unbindBidirectional方法代碼示例

本文整理匯總了Java中javafx.beans.binding.Bindings.unbindBidirectional方法的典型用法代碼示例。如果您正苦於以下問題:Java Bindings.unbindBidirectional方法的具體用法?Java Bindings.unbindBidirectional怎麽用?Java Bindings.unbindBidirectional使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在javafx.beans.binding.Bindings的用法示例。


在下文中一共展示了Bindings.unbindBidirectional方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: unbind

import javafx.beans.binding.Bindings; //導入方法依賴的package包/類
public final void unbind(DayViewBase otherControl) {
    super.unbind(otherControl);

    Bindings.unbindBidirectional(
            otherControl.earlyLateHoursStrategyProperty(),
            earlyLateHoursStrategy);
    Bindings.unbindBidirectional(otherControl.hoursLayoutStrategyProperty(),
            hoursLayoutStrategyProperty());
    Bindings.unbindBidirectional(otherControl.hourHeightProperty(),
            hourHeightProperty());
    Bindings.unbindBidirectional(
            otherControl.hourHeightCompressedProperty(),
            hourHeightCompressedProperty());
    Bindings.unbindBidirectional(otherControl.visibleHoursProperty(),
            visibleHoursProperty());
    Bindings.unbindBidirectional(otherControl.enableCurrentTimeMarkerProperty(),
            enableCurrentTimeMarkerProperty());
    Bindings.unbindBidirectional(otherControl.trimTimeBoundsProperty(),
            trimTimeBoundsProperty());
}
 
開發者ID:dlemmermann,項目名稱:CalendarFX,代碼行數:21,代碼來源:DayViewBase.java

示例2: unbindPage

import javafx.beans.binding.Bindings; //導入方法依賴的package包/類
public final void unbindPage(PrintablePage otherPage) {
    super.unbind(otherPage);

    Bindings.unbindBidirectional(otherPage.viewTypeProperty(), viewTypeProperty());
    Bindings.unbindBidirectional(otherPage.paperProperty(), paperProperty());
    Bindings.unbindBidirectional(otherPage.showAllDayEntriesProperty(), showAllDayEntriesProperty());
    Bindings.unbindBidirectional(otherPage.showCalendarKeysProperty(), showCalendarKeysProperty());
    Bindings.unbindBidirectional(otherPage.showMiniCalendarsProperty(), showMiniCalendarsProperty());
    Bindings.unbindBidirectional(otherPage.showTimedEntriesProperty(), showTimedEntriesProperty());
    Bindings.unbindBidirectional(otherPage.printStartDateProperty(), printStartDateProperty());
    Bindings.unbindBidirectional(otherPage.printEndDateProperty(), printEndDateProperty());
}
 
開發者ID:dlemmermann,項目名稱:CalendarFX,代碼行數:13,代碼來源:PrintablePage.java

示例3: unbind

import javafx.beans.binding.Bindings; //導入方法依賴的package包/類
/**
 * Unbinds the given control from this control. Unbinding is done for all
 * properties and observable lists that have previously been bound by the
 * {@link #bind(DateControl, boolean)} method.
 *
 * @param otherControl the control to unbind
 */
public final void unbind(DateControl otherControl) {
    requireNonNull(otherControl);
    boundDateControls.remove(otherControl);

    // unbind maps
    Bindings.unbindContentBidirectional(otherControl.getCalendarVisibilityMap(), getCalendarVisibilityMap());

    // unbind lists
    Bindings.unbindContentBidirectional(otherControl.getCalendarSources(), getCalendarSources());
    Bindings.unbindContentBidirectional(otherControl.getSelections(), getSelections());

    // unbind properties
    Bindings.unbindBidirectional(otherControl.suspendUpdatesProperty(), suspendUpdatesProperty());
    Bindings.unbindBidirectional(otherControl.entryFactoryProperty(), entryFactoryProperty());
    Bindings.unbindBidirectional(otherControl.defaultCalendarProviderProperty(), defaultCalendarProviderProperty());
    Bindings.unbindBidirectional(otherControl.virtualGridProperty(), virtualGridProperty());
    Bindings.unbindBidirectional(otherControl.draggedEntryProperty(), draggedEntryProperty());
    Bindings.unbindBidirectional(otherControl.requestedTimeProperty(), requestedTimeProperty());

    Bindings.unbindBidirectional(otherControl.selectionModeProperty(), selectionModeProperty());
    Bindings.unbindBidirectional(otherControl.selectionModeProperty(), selectionModeProperty());
    Bindings.unbindBidirectional(otherControl.weekFieldsProperty(), weekFieldsProperty());
    Bindings.unbindBidirectional(otherControl.dateProperty(), dateProperty());

    Bindings.unbindBidirectional(otherControl.todayProperty(), todayProperty());
    Bindings.unbindBidirectional(otherControl.zoneIdProperty(), zoneIdProperty());

    Bindings.unbindBidirectional(otherControl.layoutProperty(), layoutProperty());

    Bindings.unbindBidirectional(otherControl.startTimeProperty(), startTimeProperty());
    Bindings.unbindBidirectional(otherControl.endTimeProperty(), endTimeProperty());
    Bindings.unbindBidirectional(otherControl.timeProperty(), timeProperty());
    Bindings.unbindBidirectional(otherControl.usagePolicyProperty(), usagePolicyProperty());

    // unbind callbacks
    Bindings.unbindBidirectional(otherControl.entryDetailsCallbackProperty(), entryDetailsCallbackProperty());
    Bindings.unbindBidirectional(otherControl.dateDetailsCallbackProperty(), dateDetailsCallbackProperty());
    Bindings.unbindBidirectional(otherControl.contextMenuCallbackProperty(), contextMenuCallbackProperty());
    Bindings.unbindBidirectional(otherControl.entryContextMenuCallbackProperty(), entryContextMenuCallbackProperty());
    Bindings.unbindBidirectional(otherControl.calendarSourceFactoryProperty(), calendarSourceFactoryProperty());
    Bindings.unbindBidirectional(otherControl.entryEditPolicyProperty(), entryEditPolicyProperty());
}
 
開發者ID:dlemmermann,項目名稱:CalendarFX,代碼行數:50,代碼來源:DateControl.java


注:本文中的javafx.beans.binding.Bindings.unbindBidirectional方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。