Search this API

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 access 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 initialization.

 
Your browser does not support SVG content.

Method Summary
 void set(Face key, java.lang.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

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


setBool

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


setDouble

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


setInt

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


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