|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hdtourist.view.inf.InformacionDato
public class InformacionDato
The Class InformacionDato.
Field Summary | |
---|---|
private Categoria |
categoria
Si el dato es un vínculo, tendrá una categoría con la que rellenar la pantalla a la que lleva el vínculo. |
private Consulta |
consulta
Consulta que informa el dato. |
private java.lang.String |
etiqueta
Etiqueat que describe el dato. |
private boolean |
imagenText
The imagen text. |
protected int |
MAX_LINES
The max lines. |
private boolean |
onlyText
The only text. |
private java.util.Set<java.lang.String> |
valores
Valores obtenidos de la consulta, A no ser que sea una lista, solo habrá un valor. |
Constructor Summary | |
---|---|
InformacionDato()
Instantiates a new informacion dato. |
Method Summary | |
---|---|
private void |
colocarImagenExpandir(InformacionFragment actividad,
android.widget.ImageView showImage)
Colocar imagen expandir. |
int |
compareTo(InformacionDato another)
|
protected void |
fijaExpandirColapsar(InformacionFragment actividad,
android.view.View view)
Fija expandir colapsar. |
Categoria |
getCategoria()
Gets the categoria. |
Consulta |
getConsulta()
Gets the consulta. |
java.lang.String |
getEtiqueta()
Gets the etiqueta. |
java.util.List<IInformacionVisible> |
getObjetosInformacion()
Gets the objetos informacion. |
java.util.Set<java.lang.String> |
getValores()
Gets the valores. |
java.lang.String |
getValorVisible()
Gets the valor visible. |
android.view.View |
getView(InformacionFragment actividad)
Gets the view. |
boolean |
isImagenText()
Checks if is imagen text. |
boolean |
isOnlyText()
Checks if is only text. |
protected boolean |
isTooLarge(InformacionFragment actividad,
android.widget.TextView text,
java.lang.String newText)
Checks if is too large. |
boolean |
isVisible(android.support.v4.app.Fragment fragment)
Checks if is visible. |
void |
setCategoria(Categoria categoria)
Sets the categoria. |
void |
setConsulta(Consulta consulta)
Sets the consulta. |
void |
setEtiqueta(java.lang.String etiqueta)
Sets the etiqueta. |
void |
setImagenText(boolean imagenText)
Sets the imagen text. |
void |
setOnlyText(boolean onlyText)
Sets the only text. |
void |
setTexto(java.lang.String texto)
Sets the texto. |
void |
setValores(java.util.Set<java.lang.String> valores)
Sets the valores. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Categoria categoria
private Consulta consulta
private java.lang.String etiqueta
private boolean imagenText
private boolean onlyText
private java.util.Set<java.lang.String> valores
protected int MAX_LINES
Constructor Detail |
---|
public InformacionDato()
Method Detail |
---|
public int compareTo(InformacionDato another)
compareTo
in interface java.lang.Comparable<InformacionDato>
public Categoria getCategoria()
public Consulta getConsulta()
public java.lang.String getEtiqueta()
public java.util.List<IInformacionVisible> getObjetosInformacion()
IInformacionObjetos
getObjetosInformacion
in interface IInformacionObjetos
public java.util.Set<java.lang.String> getValores()
public java.lang.String getValorVisible()
public android.view.View getView(InformacionFragment actividad)
IInformacionVisible
getView
in interface IInformacionVisible
actividad
- the actividad
public boolean isImagenText()
public boolean isOnlyText()
public boolean isVisible(android.support.v4.app.Fragment fragment)
IInformacionVisible
isVisible
in interface IInformacionVisible
fragment
- the actividad
public void setCategoria(Categoria categoria)
categoria
- the new categoriapublic void setConsulta(Consulta consulta)
consulta
- the new consultapublic void setEtiqueta(java.lang.String etiqueta)
etiqueta
- the new etiquetapublic void setImagenText(boolean imagenText)
imagenText
- the new imagen textpublic void setOnlyText(boolean onlyText)
onlyText
- the new only textpublic void setTexto(java.lang.String texto)
texto
- the new textopublic void setValores(java.util.Set<java.lang.String> valores)
valores
- the new valoresprivate void colocarImagenExpandir(InformacionFragment actividad, android.widget.ImageView showImage)
actividad
- the actividadshowImage
- the show imageprotected void fijaExpandirColapsar(InformacionFragment actividad, android.view.View view)
actividad
- the actividadview
- the viewprotected boolean isTooLarge(InformacionFragment actividad, android.widget.TextView text, java.lang.String newText)
actividad
- the actividadtext
- the textnewText
- the new text
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |