|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ToolLocationParser.Direction>
org.openpermis.editor.policy.gui.dock.ToolLocationParser.Direction
protected static enum ToolLocationParser.Direction
Enum Constant Summary | |
---|---|
EAST
East direction. |
|
MAXIMIZED
Describes a maximized location. |
|
NORTH
North direction. |
|
SOUTH
South direction. |
|
WEST
West direction. |
|
WORKING_AREA
Describes a working area location. |
Method Summary | |
---|---|
protected abstract bibliothek.gui.dock.common.location.AbstractTreeLocation |
baseLocation(bibliothek.gui.dock.common.location.CBaseLocation base,
double weight)
Determines the next location for a base location. |
String |
content(String spec)
Determines the actual content for a specification. |
double |
getPriority()
Returns the display priority. |
bibliothek.gui.dock.common.CLocation |
location(bibliothek.gui.dock.common.CLocation location,
String content)
Determines the next location based on this direction and the current location. |
boolean |
matches(String spec)
Test if the form specified matches this direction. |
String |
next(String content)
Determines the next element to be parsed. |
protected abstract bibliothek.gui.dock.common.location.AbstractTreeLocation |
treeLocation(bibliothek.gui.dock.common.location.AbstractTreeLocation root,
double weight)
Determines the next location for a tree location. |
static ToolLocationParser.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ToolLocationParser.Direction[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ToolLocationParser.Direction WORKING_AREA
public static final ToolLocationParser.Direction MAXIMIZED
public static final ToolLocationParser.Direction NORTH
public static final ToolLocationParser.Direction EAST
public static final ToolLocationParser.Direction SOUTH
public static final ToolLocationParser.Direction WEST
Method Detail |
---|
public static ToolLocationParser.Direction[] values()
for (ToolLocationParser.Direction c : ToolLocationParser.Direction.values()) System.out.println(c);
public static ToolLocationParser.Direction valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic double getPriority()
public String content(String spec)
spec
- the specification for which to determine the content.
null
if the specification does not match this
direction.public boolean matches(String spec)
spec
- the specification to check.
true
if the specification matches this direction.public String next(String content)
content
- the content for which to determine the next element.
null
if finished.public bibliothek.gui.dock.common.CLocation location(bibliothek.gui.dock.common.CLocation location, String content)
location
- the location to base the location on.content
- the content that determines the next location.
protected abstract bibliothek.gui.dock.common.location.AbstractTreeLocation baseLocation(bibliothek.gui.dock.common.location.CBaseLocation base, double weight)
base
- the base location to use.weight
- the weight to apply.
protected abstract bibliothek.gui.dock.common.location.AbstractTreeLocation treeLocation(bibliothek.gui.dock.common.location.AbstractTreeLocation root, double weight)
root
- the root tree location.weight
- the weight to apply.
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:17:21
Copyright (c) 2002-2007 Ergon Informatik AG