public void setAttributeSize ( ScoreAttribute sa , float size , SizeUnit unit ) { if ( ! ( sa . getDefaultValue ( ) instanceof ScoreAttribute . Size ) ) throw new RuntimeException ( sa . toString ( ) + " is not a size attribute" ) ; m_attributes . put ( sa . getName ( ) , new ScoreAttribute . Size ( size , unit ) ) ; notifyListeners ( ) ; }
Sets the size associated to an attribute