|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcage.generator.SizeOption
public class SizeOption
This class represents the single configuration for one face type or vertex type
and is used in SizeOptionsMap
.
Constructor Summary | |
---|---|
SizeOption(int size,
SizeOptionsMap m)
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
void |
addTo(javax.swing.JPanel p)
|
void |
addTo(javax.swing.JPanel p,
boolean dual,
boolean isLimitable)
|
void |
deactivate()
|
void |
focusToLimitControl()
Tries to move the focus to the JCheckBox that disables and enables this vertex/face type. |
int |
getMax()
Returns the upper bound set for these kind of faces/vertices. |
int |
getMin()
Returns the lower bound set for these kind of faces/vertices. |
int |
getSize()
Returns the size that is represented by this SizeOption. |
boolean |
isActive()
|
boolean |
isLimited()
Returns whether there are bounds imposed for the number of faces/vertices this option represents. |
void |
reactivate()
|
void |
stateChanged(javax.swing.event.ChangeEvent e)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SizeOption(int size, SizeOptionsMap m)
Method Detail |
---|
public void addTo(javax.swing.JPanel p)
public void addTo(javax.swing.JPanel p, boolean dual, boolean isLimitable)
public void deactivate()
public void reactivate()
public boolean isActive()
public int getSize()
public void stateChanged(javax.swing.event.ChangeEvent e)
stateChanged
in interface javax.swing.event.ChangeListener
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public boolean isLimited()
public void focusToLimitControl()
public int getMax()
public int getMin()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |