- All Superinterfaces:
- All Known Implementing Classes:
public interface Visibility
- extends java.io.Serializable
An interface to define if an
AShape should be visible or not. Also prvides for two static implementations,
one for not visible:
FALSE and one for visible:
Implement with a concrete implementation to make more dynamic resize behaviour, depending of the bounds or some property
Returns if something with the specified size should be visible.
static final Visibility FALSE
static final Visibility TRUE
boolean getVisiblity(AShape shape)
- Returns if something with the specified size should be visible.
shape - The shape that is decided if it should be visible or not. The bounds should be set since this is probably one
of the thing that the implelentation will use to decide.
- If the
shape should be visible or not.
Copyright © 2009 MiG InfoCom AB. All Rights Reserved.