root/as3/Eseclock/branches/alumican/src/org/libspark/eseclock/textfield/IEseclockTextField.as

リビジョン 2455, 3.2 kB (コミッタ: alumican, コミット時期: 3 年 前)

--

Line 
1 /**
2  * Licensed under the MIT License
3  *
4  * Copyright (c) 2008 BeInteractive! (www.be-interactive.org) and
5  *               2009 alumican.net (www.alumican.net) and
6  *               Spark project (www.libspark.org)
7  *
8  * Permission is hereby granted, free of charge, to any person obtaining a copy
9  * of this software and associated documentation files (the "Software"), to deal
10  * in the Software without restriction, including without limitation the rights
11  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12  * copies of the Software, and to permit persons to whom the Software is
13  * furnished to do so, subject to the following conditions:
14  *
15  * The above copyright notice and this permission notice shall be included in
16  * all copies or substantial portions of the Software.
17  *
18  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24  * THE SOFTWARE.
25  */
26 package org.libspark.eseclock.textfield
27 {
28         import jp.nium.core.display.IDisplayObject;
29        
30         /**
31          * IEseclockTextField.as
32          * 時計表示および下のテキストが実装するインターフェース
33          *
34          * @author      alumican.net<Yukiya Okuda>
35          * @link        http://alumican.net/
36          * @link        http://www.libspark.org/
37          */
38        
39         public interface IEseclockTextField extends IDisplayObject
40         {
41                
42                 //-------------------------------------
43                 // CLASS CONSTANTS
44                 //-------------------------------------
45                
46                
47                
48                
49                
50                 //-------------------------------------
51                 // VARIABLES
52                 //-------------------------------------
53                
54                
55                
56                
57                
58                 //-------------------------------------
59                 // GETTER/SETTER
60                 //-------------------------------------
61                
62                
63                
64                
65                
66                 //-------------------------------------
67                 // STAGE INSTANCES
68                 //-------------------------------------
69                
70                
71                
72                
73                
74                 //-------------------------------------
75                 // GETTER/SETTER
76                 //-------------------------------------
77                
78                 /**
79                  * 表示オブジェクトの幅と高さを取得する
80                  */
81                 function get objectWidth():Number;
82                 function get objectHeight():Number;
83                
84                
85                
86                
87                
88                 //-------------------------------------
89                 // CONSTRUCTOR
90                 //-------------------------------------
91                
92                
93                
94                
95                
96                 //-------------------------------------
97                 // METHODS
98                 //-------------------------------------
99                
100                 /**
101                  * 色を設定する関数
102                  * @param       color
103                  */
104                 function setColor(color:uint):void;
105                
106                 /**
107                  * 時計表示を更新する関数
108                  * @param       h       時
109                  * @param       m       分
110                  * @param       s       秒
111                  */
112                 function updateClock(h:uint, m:uint, s:uint):void;
113                
114                 /**
115                  * テキストを更新する関数
116                  * @param       message 表示文字列
117                  */
118                 function updateDescription(message:String):void;
119                
120                
121                
122                
123                 //-------------------------------------
124                 // EVENT HANDLER
125                 //-------------------------------------
126         }
127 }
Note: リポジトリブラウザについてのヘルプは TracBrowser を参照してください。