• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2012 Sebastian Annies, Hamburg
3  *
4  * Licensed under the Apache License, Version 2.0 (the License);
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package com.googlecode.mp4parser.authoring;
18 
19 /**
20  *
21  */
22 public abstract class AbstractTrack implements Track {
23     private boolean enabled = true;
24     private boolean inMovie = true;
25     private boolean inPreview = true;
26     private boolean inPoster = true;
27 
isEnabled()28     public boolean isEnabled() {
29         return enabled;
30     }
31 
isInMovie()32     public boolean isInMovie() {
33         return inMovie;
34     }
35 
isInPreview()36     public boolean isInPreview() {
37         return inPreview;
38     }
39 
isInPoster()40     public boolean isInPoster() {
41         return inPoster;
42     }
43 
setEnabled(boolean enabled)44     public void setEnabled(boolean enabled) {
45         this.enabled = enabled;
46     }
47 
setInMovie(boolean inMovie)48     public void setInMovie(boolean inMovie) {
49         this.inMovie = inMovie;
50     }
51 
setInPreview(boolean inPreview)52     public void setInPreview(boolean inPreview) {
53         this.inPreview = inPreview;
54     }
55 
setInPoster(boolean inPoster)56     public void setInPoster(boolean inPoster) {
57         this.inPoster = inPoster;
58     }
59 
60 }
61