\r
**/\r
public class CompressSection implements Section, FfsTypes {\r
+ private int alignment = 0;\r
//\r
// The attribute of compressName.\r
//\r
public void addTool (Tool tool) {\r
sectList.add(tool);\r
}\r
+\r
+ public int getAlignment() {\r
+ return alignment;\r
+ }\r
+\r
+ public void setAlignment(int alignment) {\r
+ if (alignment > 7) {\r
+ this.alignment = 7;\r
+ } else {\r
+ this.alignment = alignment;\r
+ }\r
+ }\r
}
\ No newline at end of file