App
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
appandroid
src
mhr
appandroid
views
imagepresentationview
ImagePresentationEvent.java
Go to the documentation of this file.
1
package
mhr.appandroid.views.imagepresentationview;
2
3
public
class
ImagePresentationEvent
{
4
5
6
//===================================================================================================================================================//
7
//===== PUBLIC ==============================================================================================================================//
8
//----- interface a třídy -------------------------------------------------------------------------------------------------------------------//
9
public
enum
EventType
{
10
LAYER_SELECTED
,
11
LAYER_MASK_SELECTED
,
12
MASTER_MASK_SELECTED
,
13
14
LAYER_VISIBILITY_CHANGED
,
15
LAYER_MASK_ACTIVE_CHANGED
,
16
MASTER_MASK_APPLIED_CHANGED
,
17
18
LAYER_OPACITY_CHANGED
,
19
20
LAYER_MOVED
,
21
22
LAYER_CREATED
,
23
LAYER_DUPLICATED
,
24
25
LAYER_DELETED
,
26
27
LAYER_COPY_BITMAP
,
28
LAYER_MASK_COPY_BITMAP
,
29
MASTER_MASK_COPY_BITMAP
,
30
31
LAYER_PASTE_BITMAP
,
32
LAYER_MASK_PASTE_BITMAP
,
33
MASTER_MASK_PASTE_BITMAP
,
34
35
LAYER_CLEAR_BITMAP
,
36
LAYER_MASK_CLEAR_BITMAP
,
37
MASTER_MASK_CLEAR_BITMAP
,
38
39
LAYER_MASK_FILL_BITMAP
,
40
MASTER_MASK_FILL_BITMAP
,
41
42
LAYER_MASK_INVERT_BITMAP
,
43
MASTER_MASK_INVERT_BITMAP
,
44
45
LAYER_ADD_BITMAP
,
46
LAYER_MASK_ADD_BITMAP
,
47
MASTER_MASK_ADD_BITMAP
,
48
49
LAYER_REMOVE_BITMAP
,
50
LAYER_MASK_REMOVE_BITMAP
,
51
MASTER_MASK_REMOVE_BITMAP
,
52
53
LAYER_BLEND_BITMAP
,
54
55
IMAGE_MERGE_LAYERS
56
}
57
//----- pole --------------------------------------------------------------------------------------------------------------------------------//
58
public
final
EventType
type
;
59
public
final
int
layerId
;
60
public
final
Object
extra
;
// Moc spatna praktika, ale podstatne usnadni vyvoj
61
//----- acesory a primitivní metody ---------------------------------------------------------------------------------------------------------//
62
//----- konstruktory ------------------------------------------------------------------------------------------------------------------------//
63
public
ImagePresentationEvent
(
EventType
type
,
int
layerId
) {
64
this.type =
type
;
65
this.layerId =
layerId
;
66
this.
extra
= null;
67
}
68
69
public
ImagePresentationEvent
(
EventType
type
,
int
layerId
, Object
extra
) {
70
this.type =
type
;
71
this.layerId =
layerId
;
72
this.extra =
extra
;
73
}
74
//----- destruktory -------------------------------------------------------------------------------------------------------------------------//
75
//----- metody ------------------------------------------------------------------------------------------------------------------------------//
76
77
//===================================================================================================================================================//
78
//===== NON-PUBLIC ==========================================================================================================================//
79
//----- interface a třídy -------------------------------------------------------------------------------------------------------------------//
80
//----- pole --------------------------------------------------------------------------------------------------------------------------------//
81
//----- acesory a primitivní metody ---------------------------------------------------------------------------------------------------------//
82
//----- konstruktory ------------------------------------------------------------------------------------------------------------------------//
83
//----- destruktory -------------------------------------------------------------------------------------------------------------------------//
84
//----- metody ------------------------------------------------------------------------------------------------------------------------------//
85
86
//===================================================================================================================================================//
87
//===== DEPRECATED ==========================================================================================================================//
88
}
Generated on Thu May 23 2013 22:10:54 for App by
1.8.3