y.layout.planar
Interface FaceMap

All Superinterfaces:
DataProvider

public interface FaceMap
extends DataProvider

Provides access to data associated with a face. A face map can be considered as a map that allows only faces as keys. Face keys of a face map must belong to the same planar information.

There are data accessor methods defined for the most common typed values as well.

The edge values are initialized with java default values (null, 0, 0.0, false) upon initialisation.


Method Summary
 void set(Face key, Object value)
          Associates the given value to with the given edge.
 void setBool(Face key, boolean value)
          Associates the given boolean value to with the given edge.
 void setDouble(Face key, double value)
          Associates the given double value to with the given edge.
 void setInt(Face key, int value)
          Associates the given integer value to with the given edge.
 
Methods inherited from interface y.base.DataProvider
get, getBool, getDouble, getInt
 

Method Detail

set

public void set(Face key,
                Object value)
Associates the given value to with the given edge.


setBool

public void setBool(Face key,
                    boolean value)
Associates the given boolean value to with the given edge.


setDouble

public void setDouble(Face key,
                      double value)
Associates the given double value to with the given edge.


setInt

public void setInt(Face key,
                   int value)
Associates the given integer value to with the given edge.


© Copyright 2000-2003,
yWorks GmbH.
All rights reserved.

2003