KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > debug > internal > ui > views > memory > renderings > PendingPropertyChanges


1 /*******************************************************************************
2  * Copyright (c) 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.debug.internal.ui.views.memory.renderings;
12
13 import java.math.BigInteger JavaDoc;
14
15 /**
16  * Stores changes in properties when the rendering is hidden.
17  * These data will be used to sync up the rendering when it becomes visible again.
18  *
19  */

20 public class PendingPropertyChanges
21 {
22     BigInteger JavaDoc fTopVisibleAddress;
23     BigInteger JavaDoc fSelectedAddress;
24     BigInteger JavaDoc fPageStartAddress;
25     int fColumnSize = -1;
26     int fRowSize = -1;
27     int fPageSize = -1;
28
29     public int getColumnSize() {
30         return fColumnSize;
31     }
32
33     public void setColumnSize(int columnSize) {
34         fColumnSize = columnSize;
35     }
36
37     public BigInteger JavaDoc getPageStartAddress() {
38         return fPageStartAddress;
39     }
40
41     public void setPageStartAddress(BigInteger JavaDoc pageStartAddress) {
42         fPageStartAddress = pageStartAddress;
43     }
44
45     public int getRowSize() {
46         return fRowSize;
47     }
48
49     public void setRowSize(int rowSize) {
50         fRowSize = rowSize;
51     }
52
53     public BigInteger JavaDoc getSelectedAddress() {
54         return fSelectedAddress;
55     }
56
57     public void setSelectedAddress(BigInteger JavaDoc selectedAddress) {
58         fSelectedAddress = selectedAddress;
59     }
60
61     public BigInteger JavaDoc getTopVisibleAddress() {
62         return fTopVisibleAddress;
63     }
64
65     public void setTopVisibleAddress(BigInteger JavaDoc topVisibleAddress) {
66         fTopVisibleAddress = topVisibleAddress;
67     }
68     
69     public void setPageSize(int pageSize)
70     {
71         fPageSize = pageSize;
72     }
73     
74     public int getPageSize()
75     {
76         return fPageSize;
77     }
78     
79 }
Popular Tags