You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by gb...@apache.org on 2010/03/03 14:01:27 UTC
svn commit: r918457 - /pivot/trunk/wtk/src/org/apache/pivot/wtk/BindType.java
Author: gbrown
Date: Wed Mar 3 13:01:27 2010
New Revision: 918457
URL: http://svn.apache.org/viewvc?rev=918457&view=rev
Log:
Add BindType enum.
Added:
pivot/trunk/wtk/src/org/apache/pivot/wtk/BindType.java
Added: pivot/trunk/wtk/src/org/apache/pivot/wtk/BindType.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/BindType.java?rev=918457&view=auto
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/BindType.java (added)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/BindType.java Wed Mar 3 13:01:27 2010
@@ -0,0 +1,42 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you 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 org.apache.pivot.wtk;
+
+import org.apache.pivot.collections.Dictionary;
+
+/**
+ * Defines a bind type.
+ */
+public enum BindType {
+ /**
+ * The binding will only be processed for {@link Component#load(Dictionary)}
+ * operations.
+ */
+ LOAD,
+
+ /**
+ * The binding will only be processed for {@link Component#store(Dictionary)}
+ * operations.
+ */
+ STORE,
+
+ /**
+ * The binding will be process for both {@link Component#load(Dictionary)}
+ * and {@link Component#store(Dictionary)} operations.
+ */
+ BOTH
+}