|
JComponentPack 1.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zfqjava.swing.AbstractSizeModel
com.zfqjava.swing.LargeSizeModel
public class LargeSizeModel
| Field Summary |
|---|
| Fields inherited from class com.zfqjava.swing.AbstractSizeModel |
|---|
listenerList |
| Constructor Summary | |
|---|---|
LargeSizeModel(String name,
int n,
int size)
Creates a new instance of LargeSizeModel |
|
| Method Summary | |
|---|---|
void |
addSizes(int from,
int to,
int size)
Adds the size for the specified index area. |
void |
addSizes(int from,
int to,
int[] sizes)
Adds the size for the specified index area. |
int |
getCount()
Returns the count for this size model. |
int |
getIndex(int position)
Returns the index at the specified position. |
String |
getName()
Returns the name for this size model. |
int |
getPosition(int index)
Return the position for the specified index. |
int |
getSize()
Returns the size for this size model. |
int |
getSize(int index)
Returns the size for ths specified index. |
boolean |
getSizeIsAdjusting(int index)
Returns the size adjusting property for the specified index. |
int[] |
getSizes(int from,
int to)
Returns the size for the specified index area. |
boolean |
isFixedSize()
Returns whether the size in this size model is fixed. |
boolean |
isVisible(int index)
Returns the size visible property for the specified index. |
void |
removeSizes(int from,
int to)
Removes the sizes for the specified index. |
void |
setSize(int size)
Sets the size for this size model. |
void |
setSize(int index,
int size)
Sets the size for the specified index. |
void |
setSizeIsAdjusting(int index,
boolean isAdjusting)
Sets the size adjusting property for the specified index. |
void |
setSizes(int from,
int to,
int size)
Sets the size for the specified index area. |
void |
setSizes(int from,
int to,
int[] sizes)
Sets the size for the specified index area. |
void |
setVisible(int index,
boolean visible)
Sets the size visible property for the specified index. |
| Methods inherited from class com.zfqjava.swing.AbstractSizeModel |
|---|
addSizeModelListener, addUndoableEditListener, fireSizeAdded, fireSizeRemoved, fireSizeUpdated, fireUndoableEditHappened, fireVisibleChanged, getListeners, getSizeModelListeners, getUndoableEditListeners, removeSizeModelListener, removeUndoableEditListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LargeSizeModel(String name,
int n,
int size)
| Method Detail |
|---|
public int getIndex(int position)
SizeModel
position - the the specified position
public int getPosition(int index)
SizeModel
index - the specified index
public void addSizes(int from,
int to,
int[] sizes)
SizeModel
from - the from indexto - the to indexsizes - the size
public void addSizes(int from,
int to,
int size)
SizeModel
from - the from indexto - the to indexsize - the size
public void removeSizes(int from,
int to)
SizeModel
from - the from indexto - the to indexpublic void setSize(int size)
SizeModel
size - the sizeSizeModel.getSize()
public void setSize(int index,
int size)
SizeModel
index - the indexsize - the sizeSizeModel.getSize()
public void setSizes(int from,
int to,
int size)
SizeModel
from - the from indexto - the to indexsize - the size
public void setSizes(int from,
int to,
int[] sizes)
SizeModel
from - the from indexto - the to indexsizes - the sizepublic int getSize(int index)
SizeModel
index - the index
SizeModel.setSize(int)
public int[] getSizes(int from,
int to)
SizeModel
public int getSize()
SizeModel
SizeModel.setSize(int)public boolean isVisible(int index)
SizeModel
index - the specified indexSizeModel.setVisible(int, boolean)
public void setVisible(int index,
boolean visible)
SizeModel
index - the specified indexvisible - the visible propertySizeModel.isVisible(int)public boolean getSizeIsAdjusting(int index)
SizeModel
index - the specified indexSizeModel.setSizeIsAdjusting(int, boolean)
public void setSizeIsAdjusting(int index,
boolean isAdjusting)
SizeModel
index - the specified indexisAdjusting - the adjusting propertySizeModel.getSizeIsAdjusting(int)public int getCount()
SizeModel
public String getName()
SizeModel
public boolean isFixedSize()
SizeModel
|
JComponentPack 1.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||