Represents an Amazon EC2 region. EC2 regions are completely isolated from each other.
A Region is like two Shapes: an inner Shape within which the Operation should be fully effective; and an outer Shape outside of which the Operation should be off. The area bounded by these two Shapes defines a transition zone where Operations should somehow interpolate between on and off behavior.
Regions are unions of Contours.
@see com.lightcrafts.model.Contour
Many aspects of business, algorithms and contracts are specific to a region. The region may be of any size, from a municipality to a super-national group.
This interface is read-only. Implementations may be mutable.
A region contains a bounding box (
Features and geometry associated with a Region are drawn only when the Region is active. See
<Region id="ID"> <LatLonAltBox> <north></north> <!-- required; kml:angle90 --> <south></south> <!-- required; kml:angle90 --> <east></east> <!-- required; kml:angle180 --> <west></west> <!-- required; kml:angle180 --> <minAltitude>0</minAltitude> <!-- float --> <maxAltitude>0</maxAltitude> <!-- float --> <altitudeMode>clampToGround</altitudeMode> <!-- kml:altitudeModeEnum: clampToGround, relativeToGround, or absolute --> <!-- or, substitute gx:altitudeMode: clampToSeaFloor, relativeToSeaFloor --> </LatLonAltBox> <Lod> <minLodPixels>0</minLodPixels> <!-- float --> <maxLodPixels>-1</maxLodPixels> <!-- float --> <minFadeExtent>0</minFadeExtent> <!-- float --> <maxFadeExtent>0</maxFadeExtent> <!-- float --> </Lod> </Region>Extends: @see :
Regions are typically used as a way to identify the Component
s and areas a particular style is to apply to. Synth's file format allows you to bind styles based on the name of a Region
. The name is derived from the field name of the constant:
SPLIT_PANE
Region
you would use SplitPane
. The following shows a custom SynthStyleFactory
that returns a specific style for split panes: public SynthStyle getStyle(JComponent c, Region id) { if (id == Region.SPLIT_PANE) { return splitPaneStyle; } ... }The following xml accomplishes the same thing:
<style id="splitPaneStyle"> ... </style> <bind style="splitPaneStyle" type="region" key="SplitPane"/>@since 1.5 @author Scott Violet
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|