org.deegree.tools.crs.georeferencing.model.buttons
Class ToggleButtonModel

java.lang.Object
  extended by org.deegree.tools.crs.georeferencing.model.buttons.ToggleButtonModel

public class ToggleButtonModel
extends Object

Model for toggleButtons.

Version:
$Revision: 28895 $, $Date: 2010-12-17 14:28:11 +0100 (Fri, 17 Dec 2010) $
Author:
Steffen Thomas, last edited by: $Author: aschmitz $

Constructor Summary
ToggleButtonModel(Pair<AbstractButton,Integer>[] abstractButtons, ActionListener e)
           
 
Method Summary
 AbstractButton[] getAllButtons()
           
 Map<AbstractButton,Integer> getButtons()
           
 Map<Integer,AbstractButton> getButtonsInverse()
           
 int getPointSize()
           
 void setPointSize(int pointSize)
          Sets the pointSize to this view.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToggleButtonModel

public ToggleButtonModel(Pair<AbstractButton,Integer>[] abstractButtons,
                         ActionListener e)
Method Detail

getAllButtons

public AbstractButton[] getAllButtons()

getPointSize

public int getPointSize()
Returns:
the pointSize that is selected.

setPointSize

public void setPointSize(int pointSize)
Sets the pointSize to this view.

Parameters:
pointSize -

getButtons

public Map<AbstractButton,Integer> getButtons()

getButtonsInverse

public Map<Integer,AbstractButton> getButtonsInverse()


Copyright © 2011. All Rights Reserved.