ZenMagick 0.9.6


org.zenmagick.model.layout.ZMCrumb

Class ZMCrumb

ZMObject
|
+--ZMCrumb

public class ZMCrumb
extends ZMObject

A crumbtrail crumb.

Author:
DerManoMann
Version:
$Id: ZMCrumb.php 2121 2009-03-31 01:56:56Z dermanomann $

Fields inherited from org.zenmagick.ZMObject
properties_
Constructor Summary

ZMCrumb(string name, string url)

Create a new crumbtrail crumb.

Method Summary
string

getName()

Get the name.

string

getURL()

Get the url (if any).

void

setName(string name)

Set the name.

void

setURL(string url)

Set the url.

Methods inherited from org.zenmagick.ZMObject
attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton

Constructor Detail

ZMCrumb

public ZMCrumb(string name, string url)

Create a new crumbtrail crumb.

Parameters:
name - The name.
url - Optional url; default is null.

Method Detail

getName

public string getName()

Get the name.

Returns:
The crumb's name.

getURL

public string getURL()

Get the url (if any).

Returns:
The crumb's url or null.

setName

public void setName(string name)

Set the name.

Parameters:
name - The crumb's name.

setURL

public void setURL(string url)

Set the url.

Parameters:
url - The crumb's url.

ZenMagick 0.9.6