public enum ProjectSpaceAllocation extends Enum<ProjectSpaceAllocation>
| Enum Constant and Description |
|---|
ALLOCATED
Área alocada.
|
NO_ALLOCATION
Sem alocação (projeto comum)
|
WAITING_ALLOCATION
Aguardando alocação de área.
|
WAITING_DEALLOCATION
Projeto removido, aguardando desalocação de área.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
ImageIcon |
getIcon()
Imagem do escopo.
|
static ProjectSpaceAllocation |
getItemFromAllocationState(csbase.logic.ProjectAllocationState projectAllocationState)
Retorna item de status de alocação do projeto em função de estado do
projeto representado por enumeração ProjectAllocationState.
|
static ProjectSpaceAllocation |
getItemFromSpace(long space)
Retorna o item da enumeracao correspondente ao espaco informado.
|
csbase.logic.ProjectAllocationState |
getState()
Retorna o estado de alocação do projeto.
|
String |
getTitle()
Consulta ao título
|
boolean |
isOpenable()
Indica se o projeto pode ser aberto.
|
static ProjectSpaceAllocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProjectSpaceAllocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProjectSpaceAllocation NO_ALLOCATION
public static final ProjectSpaceAllocation WAITING_ALLOCATION
public static final ProjectSpaceAllocation WAITING_DEALLOCATION
public static final ProjectSpaceAllocation ALLOCATED
public static ProjectSpaceAllocation[] values()
for (ProjectSpaceAllocation c : ProjectSpaceAllocation.values()) System.out.println(c);
public static ProjectSpaceAllocation valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static final ProjectSpaceAllocation getItemFromSpace(long space)
space - espaco possivelmente alocado.public static final ProjectSpaceAllocation getItemFromAllocationState(csbase.logic.ProjectAllocationState projectAllocationState)
projectAllocationState - Item de status de alocação.public final ImageIcon getIcon()
public String getDescription()
public final String getTitle()
public boolean isOpenable()
public csbase.logic.ProjectAllocationState getState()
Copyright © 2020. All rights reserved.